Exemple #1
0
 /// <summary>Compare all values inside list and return true if all match.</summary><param name="other">List to compare to.</param>
 public bool Equals([AllowNull] EquatableManagedList <T> other)
 {
     if (other != null)
     {
         if (other.Count == Count)
         {
             for (int i = 0; i < Count; ++i)
             {
                 if (!_E[i].Equals(other._E[i]))
                 {
                     return(false);
                 }
             }
             return(true);
         }
     }
     return(false);
 }
Exemple #2
0
 /// <summary>Create a copy of ManagedList.</summary><param name="sourceList">Source ManagedList to copy.</param>
 public EquatableManagedList(EquatableManagedList <T> sourceList) : base(sourceList)
 {
 }