C# Class KellermanSoftware.CompareNetObjects.TypeComparers.DoubleComparer

Compare Double values with the ability to specify the precision
Inheritance: BaseTypeComparer
Mostra file Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two doubles

DoubleComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both types are double

Method Details

CompareType() public method

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

DoubleComparer() public method

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

IsTypeMatch() public method

Returns true if both types are double
public IsTypeMatch ( Type type1, Type type2 ) : bool
type1 System.Type
type2 System.Type
return bool