public bool Equals(CoreSetting input) { if (input == null) { return(false); } return (( Identifier == input.Identifier || (Identifier != null && Identifier.Equals(input.Identifier)) ) && ( IsDefault == input.IsDefault || (IsDefault != null && IsDefault.Equals(input.IsDefault)) ) && ( DisplayName == input.DisplayName || (DisplayName != null && DisplayName.Equals(input.DisplayName)) ) && ( Summary == input.Summary || (Summary != null && Summary.Equals(input.Summary)) ) && ( ImagePath == input.ImagePath || (ImagePath != null && ImagePath.Equals(input.ImagePath)) ) && ( ChildSettings == input.ChildSettings || (ChildSettings != null && ChildSettings.SequenceEqual(input.ChildSettings)) )); }
public bool Equals(TagMetadataItem input) { if (input == null) { return(false); } return (( Description == input.Description || (Description != null && Description.Equals(input.Description)) ) && ( TagText == input.TagText || (TagText != null && TagText.Equals(input.TagText)) ) && ( Groups == input.Groups || (Groups != null && Groups.SequenceEqual(input.Groups)) ) && ( IsDefault == input.IsDefault || (IsDefault != null && IsDefault.Equals(input.IsDefault)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) )); }
/// <summary> /// Returns true if LookupList instances are equal /// </summary> /// <param name="other">Instance of LookupList to be compared</param> /// <returns>Boolean</returns> public bool Equals(LookupList other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id.Equals(other.Id) ) && ( ContextName == other.ContextName || ContextName != null && ContextName.Equals(other.ContextName) ) && ( IsDefault == other.IsDefault || IsDefault.Equals(other.IsDefault) ) && ( CodeName == other.CodeName || CodeName != null && CodeName.Equals(other.CodeName) ) && ( Value == other.Value || Value != null && Value.Equals(other.Value) ) && ( DisplaySortOrder == other.DisplaySortOrder || DisplaySortOrder != null && DisplaySortOrder.Equals(other.DisplaySortOrder) )); }
/// <summary> /// Returns true if UserFavouriteViewModel instances are equal /// </summary> /// <param name="other">Instance of UserFavouriteViewModel to be compared</param> /// <returns>Boolean</returns> public bool Equals(UserFavouriteViewModel other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Value == other.Value || Value != null && Value.Equals(other.Value) ) && ( IsDefault == other.IsDefault || IsDefault != null && IsDefault.Equals(other.IsDefault) ) && ( Type == other.Type || Type != null && Type.Equals(other.Type) )); }