C# Class KellermanSoftware.CompareNetObjects.TypeComparers.ByteArrayComparer

Compare two byte arrays
Inheritance: BaseTypeComparer
显示文件 Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
ByteArrayComparer ( RootComparer rootComparer ) : System

Protected constructor that references the root comparer

CompareType ( CompareParms parms ) : void

Compare two byte array objects

IsTypeMatch ( Type type1, Type type2 ) : bool

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

Private Methods

Method Description
CompareItems ( CompareParms parms ) : void
ListsHaveDifferentCounts ( CompareParms parms ) : bool

Method Details

ByteArrayComparer() public method

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

CompareType() public method

Compare two byte array objects
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

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