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

loresoft / EntityChange / 8912024321

01 May 2024 04:29PM UTC coverage: 39.608% (+1.4%) from 38.228%
8912024321

push

github

pwelter34
fix symbol build

237 of 731 branches covered (32.42%)

Branch coverage included in aggregate %.

571 of 1309 relevant lines covered (43.62%)

60.5 hits per line

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

92.31
/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
    public EntityMapping()
38✔
14
    {
15
        Members = new List<MemberMapping>();
38✔
16
        SyncRoot = new object();
38✔
17
    }
38✔
18

19
    /// <summary>
20
    /// Initializes a new instance of the <see cref="EntityMapping"/> class.
21
    /// </summary>
22
    /// <param name="typeAccessor">The type accessor.</param>
23
    public EntityMapping(TypeAccessor typeAccessor) : this()
38✔
24
    {
25
        TypeAccessor = typeAccessor;
38✔
26
    }
38✔
27

28
    /// <summary>
29
    /// Gets or sets a value indicating whether to automatic map properties of the class.
30
    /// </summary>
31
    /// <value>
32
    ///   <c>true</c> to automatic map properties; otherwise, <c>false</c>.
33
    /// </value>
34
    public bool AutoMap { get; set; }
82✔
35

36
    /// <summary>
37
    /// Gets or sets a value indicating whether the class is ignored.
38
    /// </summary>
39
    /// <value>
40
    ///   <c>true</c> if ignored; otherwise, <c>false</c>.
41
    /// </value>
42
    public bool Ignored { get; set; }
×
43

44
    /// <summary>
45
    /// Gets or sets a value indicating whether <see cref="AutoMap"/> has completed.
46
    /// </summary>
47
    /// <value>
48
    ///   <c>true</c> if AutoMap completed; otherwise, <c>false</c>.
49
    /// </value>
50
    public bool Mapped { get; set; }
111✔
51

52
    /// <summary>
53
    /// Gets or sets the type accessor.
54
    /// </summary>
55
    /// <value>
56
    /// The type accessor.
57
    /// </value>
58
    public TypeAccessor TypeAccessor { get; set; }
85✔
59

60
    /// <summary>
61
    /// Gets the class mapped members.
62
    /// </summary>
63
    /// <value>
64
    /// The class mapped members.
65
    /// </value>
66
    public List<MemberMapping> Members { get; }
637✔
67

68
    /// <summary>
69
    /// Gets the synchronize <see langword="lock"/> object.
70
    /// </summary>
71
    /// <value>
72
    /// The synchronize object.
73
    /// </value>
74
    public object SyncRoot { get; }
35✔
75
}
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