public bool Equals(Application input) { if (input == null) { return(false); } return (( ApplicationId == input.ApplicationId || (ApplicationId.Equals(input.ApplicationId)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( RedirectUrl == input.RedirectUrl || (RedirectUrl != null && RedirectUrl.Equals(input.RedirectUrl)) ) && ( Link == input.Link || (Link != null && Link.Equals(input.Link)) ) && ( Scope == input.Scope || (Scope.Equals(input.Scope)) ) && ( Origin == input.Origin || (Origin != null && Origin.Equals(input.Origin)) ) && ( Status == input.Status || (Status != null && Status.Equals(input.Status)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( StatusChanged == input.StatusChanged || (StatusChanged != null && StatusChanged.Equals(input.StatusChanged)) ) && ( FirstPublished == input.FirstPublished || (FirstPublished != null && FirstPublished.Equals(input.FirstPublished)) ) && ( Team == input.Team || (Team != null && Team.SequenceEqual(input.Team)) ) && ( OverrideAuthorizeViewName == input.OverrideAuthorizeViewName || (OverrideAuthorizeViewName != null && OverrideAuthorizeViewName.Equals(input.OverrideAuthorizeViewName)) )); }
public bool Equals(Backup other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(CreationDate.Equals(other.CreationDate) && Id == other.Id); }
/// <summary> /// Compare 2 blocks with : /// - Index /// - CreationDate /// - Hash /// - PreviousHash /// - Transaction list /// - Guid /// </summary> /// <param name="obj"> /// The compared object, transform in Block object /// </param> public override bool Equals(object obj) { if (!(obj is Block other)) { return(false); } return(Index == other.Index && CreationDate.Equals(other.CreationDate) && string.Equals(PreviousHash, other.PreviousHash) && Transfers.SequenceEqual(other.Transfers) && Guid.Equals(other.Guid) && string.Equals(Hash, other.Hash)); }
public bool Equals(GroupQuery input) { if (input == null) { return(false); } return (( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( GroupType == input.GroupType || (GroupType != null && GroupType.Equals(input.GroupType)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( SortBy == input.SortBy || (SortBy != null && SortBy.Equals(input.SortBy)) ) && ( GroupMemberCountFilter == input.GroupMemberCountFilter || (GroupMemberCountFilter.Equals(input.GroupMemberCountFilter)) ) && ( LocaleFilter == input.LocaleFilter || (LocaleFilter != null && LocaleFilter.Equals(input.LocaleFilter)) ) && ( TagText == input.TagText || (TagText != null && TagText.Equals(input.TagText)) ) && ( ItemsPerPage == input.ItemsPerPage || (ItemsPerPage.Equals(input.ItemsPerPage)) ) && ( CurrentPage == input.CurrentPage || (CurrentPage.Equals(input.CurrentPage)) ) && ( RequestContinuationToken == input.RequestContinuationToken || (RequestContinuationToken != null && RequestContinuationToken.Equals(input.RequestContinuationToken)) )); }
/// <summary> /// Override of the equality method. /// </summary> /// <param name="o"></param> /// <returns></returns> public bool Equals(Sessions o) { //Check whether the compared object is null. if (ReferenceEquals(o, null)) { return(false); } //Check whether the compared object references the same data. if (ReferenceEquals(this, o)) { return(true); } //Check whether the Sessions' properties are equal. return(_id.Equals(o._id) && CreationDate.Equals(o.CreationDate) && UserId.Equals(o.UserId) && Key.Equals(o.Key)); }
public bool Equals(GroupMemberApplication input) { if (input == null) { return(false); } return (( GroupId == input.GroupId || (GroupId.Equals(input.GroupId)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( ResolveState == input.ResolveState || (ResolveState != null && ResolveState.Equals(input.ResolveState)) ) && ( ResolveDate == input.ResolveDate || (ResolveDate != null && ResolveDate.Equals(input.ResolveDate)) ) && ( ResolvedByMembershipId == input.ResolvedByMembershipId || (ResolvedByMembershipId.Equals(input.ResolvedByMembershipId)) ) && ( RequestMessage == input.RequestMessage || (RequestMessage != null && RequestMessage.Equals(input.RequestMessage)) ) && ( ResolveMessage == input.ResolveMessage || (ResolveMessage != null && ResolveMessage.Equals(input.ResolveMessage)) ) && ( DestinyUserInfo == input.DestinyUserInfo || (DestinyUserInfo != null && DestinyUserInfo.Equals(input.DestinyUserInfo)) ) && ( BungieNetUserInfo == input.BungieNetUserInfo || (BungieNetUserInfo != null && BungieNetUserInfo.Equals(input.BungieNetUserInfo)) )); }
public bool Equals(Test other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } var returned = Id == other.Id && Title == other.Title && CreationDate.Equals(other.CreationDate) && State == other.State; returned = returned && Questions.Aggregate(returned, (current, question) => current && other.Questions.Contains(question)); return(returned); }
public bool Equals(ContentItemPublicContract input) { if (input == null) { return(false); } return (( ContentId == input.ContentId || (ContentId.Equals(input.ContentId)) ) && ( CType == input.CType || (CType != null && CType.Equals(input.CType)) ) && ( CmsPath == input.CmsPath || (CmsPath != null && CmsPath.Equals(input.CmsPath)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( ModifyDate == input.ModifyDate || (ModifyDate != null && ModifyDate.Equals(input.ModifyDate)) ) && ( AllowComments == input.AllowComments || (AllowComments != null && AllowComments.Equals(input.AllowComments)) ) && ( HasAgeGate == input.HasAgeGate || (HasAgeGate != null && HasAgeGate.Equals(input.HasAgeGate)) ) && ( MinimumAge == input.MinimumAge || (MinimumAge.Equals(input.MinimumAge)) ) && ( RatingImagePath == input.RatingImagePath || (RatingImagePath != null && RatingImagePath.Equals(input.RatingImagePath)) ) && ( Author == input.Author || (Author != null && Author.Equals(input.Author)) ) && ( AutoEnglishPropertyFallback == input.AutoEnglishPropertyFallback || (AutoEnglishPropertyFallback != null && AutoEnglishPropertyFallback.Equals(input.AutoEnglishPropertyFallback)) ) && ( Properties == input.Properties || (Properties != null && Properties.SequenceEqual(input.Properties)) ) && ( Representations == input.Representations || (Representations != null && Representations.SequenceEqual(input.Representations)) ) && ( Tags == input.Tags || (Tags != null && Tags.SequenceEqual(input.Tags)) ) && ( CommentSummary == input.CommentSummary || (CommentSummary != null && CommentSummary.Equals(input.CommentSummary)) )); }
public bool Equals(GroupV2 input) { if (input == null) { return(false); } return (( GroupId == input.GroupId || (GroupId.Equals(input.GroupId)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( GroupType == input.GroupType || (GroupType != null && GroupType.Equals(input.GroupType)) ) && ( MembershipIdCreated == input.MembershipIdCreated || (MembershipIdCreated.Equals(input.MembershipIdCreated)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( ModificationDate == input.ModificationDate || (ModificationDate != null && ModificationDate.Equals(input.ModificationDate)) ) && ( About == input.About || (About != null && About.Equals(input.About)) ) && ( Tags == input.Tags || (Tags != null && Tags.SequenceEqual(input.Tags)) ) && ( MemberCount == input.MemberCount || (MemberCount.Equals(input.MemberCount)) ) && ( IsPublic == input.IsPublic || (IsPublic != null && IsPublic.Equals(input.IsPublic)) ) && ( IsPublicTopicAdminOnly == input.IsPublicTopicAdminOnly || (IsPublicTopicAdminOnly != null && IsPublicTopicAdminOnly.Equals(input.IsPublicTopicAdminOnly)) ) && ( Motto == input.Motto || (Motto != null && Motto.Equals(input.Motto)) ) && ( AllowChat == input.AllowChat || (AllowChat != null && AllowChat.Equals(input.AllowChat)) ) && ( IsDefaultPostPublic == input.IsDefaultPostPublic || (IsDefaultPostPublic != null && IsDefaultPostPublic.Equals(input.IsDefaultPostPublic)) ) && ( ChatSecurity == input.ChatSecurity || (ChatSecurity != null && ChatSecurity.Equals(input.ChatSecurity)) ) && ( Locale == input.Locale || (Locale != null && Locale.Equals(input.Locale)) ) && ( AvatarImageIndex == input.AvatarImageIndex || (AvatarImageIndex.Equals(input.AvatarImageIndex)) ) && ( Homepage == input.Homepage || (Homepage != null && Homepage.Equals(input.Homepage)) ) && ( MembershipOption == input.MembershipOption || (MembershipOption != null && MembershipOption.Equals(input.MembershipOption)) ) && ( DefaultPublicity == input.DefaultPublicity || (DefaultPublicity != null && DefaultPublicity.Equals(input.DefaultPublicity)) ) && ( Theme == input.Theme || (Theme != null && Theme.Equals(input.Theme)) ) && ( BannerPath == input.BannerPath || (BannerPath != null && BannerPath.Equals(input.BannerPath)) ) && ( AvatarPath == input.AvatarPath || (AvatarPath != null && AvatarPath.Equals(input.AvatarPath)) ) && ( ConversationId == input.ConversationId || (ConversationId.Equals(input.ConversationId)) ) && ( EnableInvitationMessagingForAdmins == input.EnableInvitationMessagingForAdmins || (EnableInvitationMessagingForAdmins != null && EnableInvitationMessagingForAdmins.Equals(input.EnableInvitationMessagingForAdmins)) ) && ( BanExpireDate == input.BanExpireDate || (BanExpireDate != null && BanExpireDate.Equals(input.BanExpireDate)) ) && ( Features == input.Features || (Features != null && Features.Equals(input.Features)) ) && ( ClanInfo == input.ClanInfo || (ClanInfo != null && ClanInfo.Equals(input.ClanInfo)) )); }
public bool Equals(GroupV2Card input) { if (input == null) { return(false); } return (( GroupId == input.GroupId || (GroupId.Equals(input.GroupId)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( GroupType == input.GroupType || (GroupType != null && GroupType.Equals(input.GroupType)) ) && ( CreationDate == input.CreationDate || (CreationDate != null && CreationDate.Equals(input.CreationDate)) ) && ( About == input.About || (About != null && About.Equals(input.About)) ) && ( Motto == input.Motto || (Motto != null && Motto.Equals(input.Motto)) ) && ( MemberCount == input.MemberCount || (MemberCount.Equals(input.MemberCount)) ) && ( Locale == input.Locale || (Locale != null && Locale.Equals(input.Locale)) ) && ( MembershipOption == input.MembershipOption || (MembershipOption != null && MembershipOption.Equals(input.MembershipOption)) ) && ( Capabilities == input.Capabilities || (Capabilities != null && Capabilities.Equals(input.Capabilities)) ) && ( ClanInfo == input.ClanInfo || (ClanInfo != null && ClanInfo.Equals(input.ClanInfo)) ) && ( AvatarPath == input.AvatarPath || (AvatarPath != null && AvatarPath.Equals(input.AvatarPath)) ) && ( Theme == input.Theme || (Theme != null && Theme.Equals(input.Theme)) )); }