C# Class KellermanSoftware.CompareNetObjects.TypeComparers.DictionaryComparer

Logic to compare two dictionaries
Inheritance: BaseTypeComparer
Exibir arquivo Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two dictionaries

DictionaryComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both types are dictionaries

Private Methods

Method Description
CompareEachItem ( CompareParms parms ) : void
DictionaryCountsDifferent ( CompareParms parms ) : bool

Method Details

CompareType() public method

Compare two dictionaries
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

DictionaryComparer() public method

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

IsTypeMatch() public method

Returns true if both types are dictionaries
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