Esempio n. 1
0
 private bool IsOrderSame(DocNodeChildren previousChildren)
 {
     if (_itemCount != previousChildren._itemCount)
     {
         return(false);
     }
     for (int i = 0; i < _itemCount; i++)
     {
         if (!ReferenceEquals(_items[i].Id, previousChildren._items[i].Id))
         {
             return(false);
         }
     }
     return(true);
 }
Esempio n. 2
0
 protected bool Equals(DocNodeChildren other)
 {
     return(_items.Equals(other._items));
 }