예제 #1
0
 public bool Equals(ImmutableGroup <TObject, TGroupKey> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(EqualityComparer <TGroupKey> .Default.Equals(Key, other.Key));
 }
예제 #2
0
 public bool Equals(ImmutableGroup<TObject, TGroupKey> other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return EqualityComparer<TGroupKey>.Default.Equals(Key, other.Key);
 }