-
-
Notifications
You must be signed in to change notification settings - Fork 193
/
Copy pathCompareParms.cs
73 lines (61 loc) · 2.16 KB
/
CompareParms.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#pragma warning disable CS1570 // XML comment has badly formed XML
using System;
using KellermanSoftware.CompareNetObjects.TypeComparers;
namespace KellermanSoftware.CompareNetObjects
{
/// <summary>
/// Compare Parameters
/// </summary>
public class CompareParms
{
/// <summary>
/// The configuration settings
/// </summary>
public ComparisonConfig Config { get; set; }
/// <summary>
/// The type of the first object
/// </summary>
public Type Object1Type { get; set; }
/// <summary>
/// The type of the second object
/// </summary>
public Type Object2Type { get; set; }
/// <summary>
/// The declared type of the first object in its parent. e.g. IList<T>
/// </summary>
public Type Object1DeclaredType { get; set; }
/// <summary>
/// The declared type of the second object in its parent. e.g. IList<T>
/// </summary>
public Type Object2DeclaredType { get; set; }
/// <summary>
/// Details about the comparison
/// </summary>
public ComparisonResult Result { get; set; }
/// <summary>
/// A reference to the parent object1
/// </summary>
public object ParentObject1 { get; set; }
/// <summary>
/// A reference to the parent object2
/// </summary>
public object ParentObject2 { get; set; }
/// <summary>
/// The first object to be compared
/// </summary>
public object Object1 { get; set; }
/// <summary>
/// The second object to be compared
/// </summary>
public object Object2 { get; set; }
/// <summary>
/// The breadcrumb in the tree
/// </summary>
public string BreadCrumb { get; set; }
/// <summary>
/// Custom comparer used to assert <para>Object1</para>
/// </summary>
public BaseTypeComparer CustomPropertyComparer { get; set; }
}
}
#pragma warning restore CS1570 // XML comment has badly formed XML