C# Class KellermanSoftware.CompareNetObjects.TypeComparers.DateComparer

Compare dates with the option to ignore based on milliseconds
Inheritance: BaseTypeComparer
Afficher le fichier Open project: GregFinzer/Compare-Net-Objects

Méthodes publiques

Méthode Description
CompareType ( CompareParms parms ) : void

Compare two DateTime variables

DateComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both types are DateTime

Method Details

CompareType() public méthode

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

DateComparer() public méthode

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

IsTypeMatch() public méthode

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