public bool Equals([CanBeNull] CitpElementLibraryUpdatedInformation other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(LibraryType == other.LibraryType && LibraryNumber == other.LibraryNumber && LibraryId.Equals(other.LibraryId) && UpdateFlags == other.UpdateFlags && SequenceComparison.SequenceEqual(AffectedElements, other.AffectedElements) && SequenceComparison.SequenceEqual(AffectedLibraries, other.AffectedLibraries)); }
public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } var other = (BookSearchResult)obj; return(LibraryId.Equals(other.LibraryId) && LibraryName.Equals(other.LibraryName) && LibraryPicture.Equals(other.LibraryPicture) && Title.Equals(other.Title) && Author.Equals(other.Author) && PublishYear.Equals(other.PublishYear) && Isbn.Equals(other.Isbn)); }
public bool Equals(MsexId other) { return(LibraryId.Equals(other.LibraryId) || LibraryNumber == other.LibraryNumber); }