C# Class ODiff.ObjectGraphDiff

显示文件 Open project: goeran/ODiff

Public Methods

Method Description
Diff ( ) : DiffReport
ObjectGraphDiff ( Object leftRootNode, Object rightRootNode ) : System

Private Methods

Method Description
AreEqual ( object leftValue, object rightValue ) : bool
CompareLeafNode ( string memberPath, object leftNode, object rightNode ) : void
GetNextValueOrNullFromList ( IEnumerator enumerator, int currentIndex, int enumeratorCount ) : object
InterceptNode ( string memberPath, object node ) : object
IsALeafNode ( object node ) : bool
NewPath ( string currentPath, string name ) : string
NoDiffFound ( ) : DiffReport
VisitLeafNodes ( string memberPath, object leftNode, object rightNode ) : void
VisitNode ( string memberPath, object leftNode, object rightNode ) : void
VisitNodesInList ( string currentMemberPath, IEnumerable leftList, IEnumerable rightList ) : void
VisitPublicFields ( string currentMemberPath, object leftObject, object rightObject ) : void
VisitPublicProperties ( string currentMemberPath, object leftObject, object rightObject ) : void

Method Details

Diff() public method

public Diff ( ) : DiffReport
return DiffReport

ObjectGraphDiff() public method

public ObjectGraphDiff ( Object leftRootNode, Object rightRootNode ) : System
leftRootNode Object
rightRootNode Object
return System