C# Class KellermanSoftware.CompareNetObjects.TypeComparers.StructComparer

Compare two structs
Inheritance: BaseTypeComparer
Exibir arquivo Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two structs

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both objects are of type struct

StructComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

Method Details

CompareType() public method

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

IsTypeMatch() public method

Returns true if both objects are of type struct
public IsTypeMatch ( Type type1, Type type2 ) : bool
type1 System.Type
type2 System.Type
return bool

StructComparer() public method

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