C# Class KellermanSoftware.CompareNetObjects.TypeComparers.BaseTypeComparer

Common functionality for all Type Comparers
Inheritance: BaseComparer
ファイルを表示 Open project: GregFinzer/Compare-Net-Objects Class Usage Examples

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare the two objects

IsTypeMatch ( Type type1, Type type2 ) : bool

If true the type comparer will handle the comparison for the type

Protected Methods

Method Description
BaseTypeComparer ( RootComparer rootComparer ) : System

Protected constructor that references the root comparer

Method Details

BaseTypeComparer() protected method

Protected constructor that references the root comparer
protected BaseTypeComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer
return System

CompareType() public abstract method

Compare the two objects
public abstract CompareType ( CompareParms parms ) : void
parms CompareParms
return void

IsTypeMatch() public abstract method

If true the type comparer will handle the comparison for the type
public abstract IsTypeMatch ( Type type1, Type type2 ) : bool
type1 System.Type The type of the first object
type2 System.Type The type of the second object
return bool