C# Class KellermanSoftware.CompareNetObjects.TypeComparers.EnumerableComparer

Logic to compare two LINQ enumerators
Inheritance: BaseTypeComparer
显示文件 Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two objects that implement LINQ Enumerator

EnumerableComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if either object is of type LINQ Enumerator

Private Methods

Method Description
ConvertEnumerableToList ( object source ) : object

Method Details

CompareType() public method

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

EnumerableComparer() public method

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

IsTypeMatch() public method

Returns true if either object is of type LINQ Enumerator
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