/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns> /// true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false. /// </returns> public bool Equals(MultiLookup <T> other) { if (other == null) { return(false); } if (Cas == other.Cas && Builder.Equals(other.Builder) && Key == other.Key) { return(true); } return(false); }
public bool Equals(MultiLookup <T>?other) { if (other == null) { return(false); } if (Cas == other.Cas && LookupCommands.Equals(other.LookupCommands) && Key == other.Key) { return(true); } return(false); }