C# Class KellermanSoftware.CompareNetObjects.TypeComparers.PointerComparer

Logic to compare to pointers
Inheritance: BaseTypeComparer
Show file Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two pointers

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both types are a pointer

PointerComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

Method Details

CompareType() public method

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

IsTypeMatch() public method

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

PointerComparer() public method

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