C# Class KellermanSoftware.CompareNetObjects.TypeComparers.ListComparer

Compare objects that implement IList
Inheritance: BaseTypeComparer
显示文件 Open project: GregFinzer/Compare-Net-Objects Class Usage Examples

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two objects that implement IList

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both objects implement IList

ListComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

Private Methods

Method Description
CompareItems ( CompareParms parms ) : void
ListsHaveDifferentCounts ( CompareParms parms ) : bool

Method Details

CompareType() public method

Compare two objects that implement IList
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

IsTypeMatch() public method

Returns true if both objects implement IList
public 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

ListComparer() public method

Constructor that takes a root comparer
public ListComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer
return System