using System;
using FSI.Lib.CompareNetObjects.TypeComparers;
namespace FSI.Lib.CompareNetObjects
{
///
/// Compare Parameters
///
public class CompareParms
{
///
/// The configuration settings
///
public ComparisonConfig Config { get; set; }
///
/// The type of the first object
///
public Type Object1Type { get; set; }
///
/// The type of the second object
///
public Type Object2Type { get; set; }
///
/// The declared type of the first object in its parent. e.g. IList
///
public Type Object1DeclaredType { get; set; }
///
/// The declared type of the second object in its parent. e.g. IList
///
public Type Object2DeclaredType { get; set; }
///
/// Details about the comparison
///
public ComparisonResult Result { get; set; }
///
/// A reference to the parent object1
///
public object ParentObject1 { get; set; }
///
/// A reference to the parent object2
///
public object ParentObject2 { get; set; }
///
/// The first object to be compared
///
public object Object1 { get; set; }
///
/// The second object to be compared
///
public object Object2 { get; set; }
///
/// The breadcrumb in the tree
///
public string BreadCrumb { get; set; }
///
/// Custom comparer used to assert Object1
///
public BaseTypeComparer CustomPropertyComparer { get; set; }
}
}