C# Class KellermanSoftware.CompareNetObjects.TypeComparers.ClassComparer

Compare two objects of type class
Inheritance: BaseTypeComparer
Mostrar archivo Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
ClassComparer ( RootComparer rootComparer ) : System

Constructor for the class comparer

CompareType ( CompareParms parms ) : void

Compare two classes

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if the both objects are a class

Method Details

ClassComparer() public method

Constructor for the class comparer
public ClassComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer The root comparer instantiated by the RootComparerFactory
return System

CompareType() public method

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

IsTypeMatch() public method

Returns true if the both objects are a class
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