• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucaslorentz / auto-compute / 11758855041

09 Nov 2024 07:22PM UTC coverage: 77.28% (+0.07%) from 77.208%
11758855041

push

github

lucaslorentz
Add initial support for computed navigations and observers

166 of 431 new or added lines in 25 files covered. (38.52%)

41 existing lines in 7 files now uncovered.

1466 of 1897 relevant lines covered (77.28%)

109.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/LLL.AutoCompute/ChangesProviders/ChangesProvider.cs
1
using System.Linq.Expressions;
2
using LLL.AutoCompute.EntityContexts;
3

4
namespace LLL.AutoCompute.ChangesProviders;
5

6
public class ChangesProvider<TInput, TEntity, TChange>(
77✔
7
    IUnboundChangesProvider<TInput, TEntity, TChange> unboundChangesProvider,
77✔
8
    TInput input,
77✔
9
    ChangeMemory<TEntity, TChange> memory
77✔
10
) : IChangesProvider<TEntity, TChange>
77✔
11
    where TEntity : class
12
{
NEW
13
    LambdaExpression IChangesProvider.Expression => unboundChangesProvider.Expression;
×
14
    public EntityContext EntityContext => unboundChangesProvider.EntityContext;
×
15
    public IChangeCalculation<TChange> ChangeCalculation => unboundChangesProvider.ChangeCalculation;
×
16

17
    public async Task<IReadOnlyDictionary<TEntity, TChange>> GetChangesAsync()
18
    {
19
        return await unboundChangesProvider.GetChangesAsync(input, memory);
85✔
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc