Exemple #1
0
 // <summary>
 // Recursively compare two object trees following logical tree structure
 // </summary>
 // <param name="firstTree">Root for first tree</param>
 // <param name="secondTree">Root for second tree</param>
 // <returns>
 //   True, if two object tree are equivalent
 //   False, otherwise
 // </returns>
 private static bool CompareLogicalTree(
     object firstTree,
     object secondTree
     )
 {
     return(TreeComparer.CompareObjects(firstTree, secondTree));
 }