C# Class KellermanSoftware.CompareNetObjects.TypeComparers.DoubleComparer

Compare Double values with the ability to specify the precision
Inheritance: BaseTypeComparer
Afficher le fichier Open project: GregFinzer/Compare-Net-Objects

Méthodes publiques

Méthode 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 méthode

Compare two doubles
public CompareType ( CompareParms parms ) : void
parms CompareParms
Résultat void

DoubleComparer() public méthode

Constructor that takes a root comparer
public DoubleComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer
Résultat System

IsTypeMatch() public méthode

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