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

loresoft / MediatR.CommandQuery / 8410320720

24 Mar 2024 03:15PM CUT coverage: 58.562%. Remained the same
8410320720

push

github

pwelter34
Update EntityQueryEndpointBase.cs

230 of 438 branches covered (52.51%)

Branch coverage included in aggregate %.

560 of 911 relevant lines covered (61.47%)

19.53 hits per line

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

0.0
/src/MediatR.CommandQuery/Commands/EntityIdentifiersCommand.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Diagnostics.CodeAnalysis;
4
using System.Linq;
5
using System.Security.Principal;
6

7
namespace MediatR.CommandQuery.Commands;
8

9
public abstract class EntityIdentifiersCommand<TKey, TResponse>
10
    : PrincipalCommandBase<TResponse>
11
{
12
    protected EntityIdentifiersCommand(IPrincipal? principal, [NotNull] IEnumerable<TKey> ids)
13
        : base(principal)
×
14
    {
15
        if (ids is null)
×
16
            throw new ArgumentNullException(nameof(ids));
×
17

18
        Ids = ids.ToList();
×
19
    }
×
20

21
    public IReadOnlyCollection<TKey> Ids { get; }
22
}
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

© 2025 Coveralls, Inc