C# Class ObjectDiffer.TypeDiffers.EnumerableDiffer

Inheritance: ITypeDiffer
Show file Open project: sportingsolutions/ObjectDiffer

Public Methods

Method Description
CanPerformDiff ( Type t ) : bool
PerformDiff ( object newObj, object oldObj, string propName, Type type, Func diffChildCallback ) : Difference

Protected Methods

Method Description
GroupEqualObjects ( IEnumerable newArray, IEnumerable oldArray ) : object>>.IEnumerable

Private Methods

Method Description
GetEnumerableElementType ( Type type ) : Type

Method Details

CanPerformDiff() public method

public CanPerformDiff ( Type t ) : bool
t System.Type
return bool

GroupEqualObjects() protected abstract method

protected abstract GroupEqualObjects ( IEnumerable newArray, IEnumerable oldArray ) : object>>.IEnumerable
newArray IEnumerable
oldArray IEnumerable
return object>>.IEnumerable

PerformDiff() public method

public PerformDiff ( object newObj, object oldObj, string propName, Type type, Func diffChildCallback ) : Difference
newObj object
oldObj object
propName string
type System.Type
diffChildCallback Func
return Difference