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

loresoft / MediatR.CommandQuery / 7293057134

21 Dec 2023 08:49PM UTC coverage: 58.562% (-0.5%) from 59.098%
7293057134

push

github

pwelter34
upgrade to .net 8 and lastest mediatR

230 of 438 branches covered (0.0%)

Branch coverage included in aggregate %.

20 of 54 new or added lines in 3 files covered. (37.04%)

7 existing lines in 7 files now uncovered.

560 of 911 relevant lines covered (61.47%)

19.52 hits per line

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

83.33
/src/MediatR.CommandQuery/Commands/EntityPatchCommand.cs
1
using System;
2
using System.Diagnostics.CodeAnalysis;
3
using System.Security.Principal;
4

5
using Microsoft.AspNetCore.JsonPatch;
6

7
namespace MediatR.CommandQuery.Commands;
8

9
public class EntityPatchCommand<TKey, TReadModel>
10
    : EntityIdentifierCommand<TKey, TReadModel>
11
{
12
    public EntityPatchCommand(IPrincipal? principal, [NotNull] TKey id, [NotNull] IJsonPatchDocument patch) : base(principal, id)
14✔
13
    {
14
        Patch = patch ?? throw new ArgumentNullException(nameof(patch));
14✔
15
    }
11✔
16

17
    public IJsonPatchDocument Patch { get; }
18

19

20
    public override string ToString()
21
    {
UNCOV
22
        return $"Entity Patch Command; Model: {typeof(TReadModel).Name}; {base.ToString()}";
×
23
    }
24

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

© 2025 Coveralls, Inc