C# Class KellermanSoftware.CompareNetObjects.TypeComparers.FontComparer

Class FontDescriptorComparer.
Inheritance: BaseTypeComparer
Exibir arquivo Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare the two fonts

FontComparer ( RootComparer rootComparer ) : System

Protected constructor that references the root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

If true the type comparer will handle the comparison for the type

Private Methods

Method Description
CompareProp ( CompareParms parms, object prop1, object prop2, string propName ) : void

Method Details

CompareType() public method

Compare the two fonts
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

FontComparer() public method

Protected constructor that references the root comparer
public FontComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer The root comparer.
return System

IsTypeMatch() public method

If true the type comparer will handle the comparison for the type
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