public bool Equals(CollectionInfo other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.DocumentType == DocumentType && Equals(other.CollectionName, CollectionName); }
public bool Equals(CollectionInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(other.DocumentType == DocumentType && Equals(other.CollectionName, CollectionName)); }