C# Class KellermanSoftware.CompareNetObjects.TypeComparers.TimespanComparer

Logic to compare two timespans
Inheritance: BaseTypeComparer
Mostrar archivo Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two timespans

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both objects are timespans

TimespanComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

Method Details

CompareType() public method

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

IsTypeMatch() public method

Returns true if both objects are timespans
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

TimespanComparer() public method

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