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

loresoft / EntityChange / 13417967502

19 Feb 2025 04:51PM UTC coverage: 45.43% (+5.7%) from 39.697%
13417967502

push

github

pwelter34
fix failing test

287 of 726 branches covered (39.53%)

Branch coverage included in aggregate %.

563 of 1145 relevant lines covered (49.17%)

73.33 hits per line

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

90.91
/src/EntityChange/EntityMapping.cs
1
using EntityChange.Reflection;
2

3
namespace EntityChange;
4

5
/// <summary>
6
/// Mapping information on how to compare a class
7
/// </summary>
8
public class EntityMapping
9
{
10
    /// <summary>
11
    /// Initializes a new instance of the <see cref="EntityMapping"/> class.
12
    /// </summary>
13
    /// <param name="typeAccessor">The type accessor.</param>
14
    public EntityMapping(TypeAccessor typeAccessor)
38✔
15
    {
16
        TypeAccessor = typeAccessor;
38✔
17
        Members = new List<MemberMapping>();
38✔
18
        SyncRoot = new object();
38✔
19
    }
38✔
20

21
    /// <summary>
22
    /// Gets or sets a value indicating whether to automatic map properties of the class.
23
    /// </summary>
24
    /// <value>
25
    ///   <c>true</c> to automatic map properties; otherwise, <c>false</c>.
26
    /// </value>
27
    public bool AutoMap { get; set; }
82✔
28

29
    /// <summary>
30
    /// Gets or sets a value indicating whether the class is ignored.
31
    /// </summary>
32
    /// <value>
33
    ///   <c>true</c> if ignored; otherwise, <c>false</c>.
34
    /// </value>
35
    public bool Ignored { get; set; }
×
36

37
    /// <summary>
38
    /// Gets or sets a value indicating whether <see cref="AutoMap"/> has completed.
39
    /// </summary>
40
    /// <value>
41
    ///   <c>true</c> if AutoMap completed; otherwise, <c>false</c>.
42
    /// </value>
43
    public bool Mapped { get; set; }
111✔
44

45
    /// <summary>
46
    /// Gets or sets the type accessor.
47
    /// </summary>
48
    /// <value>
49
    /// The type accessor.
50
    /// </value>
51
    public TypeAccessor TypeAccessor { get; set; }
87✔
52

53
    /// <summary>
54
    /// Gets the class mapped members.
55
    /// </summary>
56
    /// <value>
57
    /// The class mapped members.
58
    /// </value>
59
    public List<MemberMapping> Members { get; }
639✔
60

61
    /// <summary>
62
    /// Gets the synchronize <see langword="lock"/> object.
63
    /// </summary>
64
    /// <value>
65
    /// The synchronize object.
66
    /// </value>
67
    public object SyncRoot { get; }
35✔
68
}
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