C# Class KellermanSoftware.CompareNetObjects.TypeComparers.HashSetComparer

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

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two hash sets

HashSetComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both objects are hash sets

Private Methods

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

Method Details

CompareType() public method

Compare two hash sets
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

HashSetComparer() public method

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

IsTypeMatch() public method

Returns true if both objects are hash sets
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