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

loresoft / MediatR.CommandQuery / 14067111219

25 Mar 2025 06:14PM UTC coverage: 59.397% (-0.5%) from 59.879%
14067111219

push

github

pwelter34
Update MediatorServiceExtensions.cs

495 of 971 branches covered (50.98%)

Branch coverage included in aggregate %.

0 of 3 new or added lines in 1 file covered. (0.0%)

113 existing lines in 15 files now uncovered.

1474 of 2344 relevant lines covered (62.88%)

22.57 hits per line

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

75.0
/src/MediatR.CommandQuery/Queries/EntityPagedQuery.cs
1
using System.Security.Claims;
2
using System.Text.Json.Serialization;
3

4
using MediatR.CommandQuery.Services;
5

6
namespace MediatR.CommandQuery.Queries;
7

8
public record EntityPagedQuery<TReadModel> : CacheableQueryBase<EntityPagedResult<TReadModel>>
9
{
10
    public EntityPagedQuery(ClaimsPrincipal? principal, EntityQuery? query)
11
        : base(principal)
28✔
12
    {
13
        Query = query ?? new EntityQuery();
28✔
14
    }
28✔
15

16
    [JsonPropertyName("query")]
17
    public EntityQuery Query { get; }
74✔
18

19

20
    public override string GetCacheKey()
UNCOV
21
        => CacheTagger.GetKey<TReadModel, int>(CacheTagger.Buckets.Paged, Query.GetHashCode());
×
22

23
    public override string? GetCacheTag()
UNCOV
24
        => CacheTagger.GetTag<TReadModel>();
×
25
}
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