Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            DataLatencyDetailCollection dataLatencyDetailCollection = obj as DataLatencyDetailCollection;

            return(dataLatencyDetailCollection != null && this.Equals(dataLatencyDetailCollection));
        }
Пример #2
0
 public bool Equals(DataLatencyDetailCollection collection)
 {
     return(this.FssCopyId == collection.FssCopyId && this.Details.Count == collection.Details.Count && this.details.All((DataLatencyDetail d1) => collection.details.Contains(d1)));
 }