public bool Equals(RenewalParameters other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(SubscriptionId.Equals(other.SubscriptionId) && string.Equals(TenantId, other.TenantId) && string.Equals(ResourceGroup, other.ResourceGroup) && string.Equals(WebApp, other.WebApp) && Hosts.SequenceEqual(other.Hosts) && string.Equals(Email, other.Email) && ClientId.Equals(other.ClientId) && string.Equals(ClientSecret, other.ClientSecret) && string.Equals(ServicePlanResourceGroup, other.ServicePlanResourceGroup) && string.Equals(SiteSlotName, other.SiteSlotName) && UseIpBasedSsl == other.UseIpBasedSsl && RsaKeyLength == other.RsaKeyLength && Equals(AcmeBaseUri, other.AcmeBaseUri) && RenewXNumberOfDaysBeforeExpiration == other.RenewXNumberOfDaysBeforeExpiration && Equals(AuthenticationUri, other.AuthenticationUri) && Equals(AzureTokenAudience, other.AzureTokenAudience) && Equals(AzureManagementEndpoint, other.AzureManagementEndpoint) && string.Equals(AzureDefaultWebsiteDomainName, other.AzureDefaultWebsiteDomainName)); }
private bool Equals(Event <T> other) { return(OrganizationId.Equals(other.OrganizationId) && SubscriptionId.Equals(other.SubscriptionId) && UserId.Equals(other.UserId) && EqualityComparer <T> .Default.Equals(EventData, other.EventData)); }
public bool Equals(RenewalParameters other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(SubscriptionId.Equals(other.SubscriptionId) && string.Equals(TenantId, other.TenantId) && string.Equals(ResourceGroup, other.ResourceGroup) && string.Equals(WebApp, other.WebApp) && Hosts.SequenceEqual(other.Hosts) && string.Equals(Email, other.Email) && ClientId.Equals(other.ClientId) && string.Equals(ClientSecret, other.ClientSecret) && string.Equals(ServicePlanResourceGroup, other.ServicePlanResourceGroup) && string.Equals(SiteSlotName, other.SiteSlotName) && UseIpBasedSsl == other.UseIpBasedSsl && RsaKeyLength == other.RsaKeyLength && Equals(AcmeBaseUri, other.AcmeBaseUri)); }
private bool Equals(EventHistoryTableEntity other) { return(string.Equals(PartitionKey, other.PartitionKey) && string.Equals(RowKey, other.RowKey) && Created.Equals(other.Created) && string.Equals(EventType, other.EventType) && string.Equals(OperationName, other.OperationName) && OrganizationId.Equals(other.OrganizationId) && SubscriptionId.Equals(other.SubscriptionId) && string.Equals(Data, other.Data)); }
public bool Equals(AzureEnvironmentParams other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(TenantId, other.TenantId, StringComparison.OrdinalIgnoreCase) && SubscriptionId.Equals(other.SubscriptionId) && string.Equals(ResourceGroup, other.ResourceGroup, StringComparison.OrdinalIgnoreCase) && ClientId.Equals(other.ClientId) && string.Equals(ClientSecret, other.ClientSecret, StringComparison.Ordinal)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is RenewTokenResponse other && ((Context == null && other.Context == null) || (Context?.Equals(other.Context) == true)) && ((AccessToken == null && other.AccessToken == null) || (AccessToken?.Equals(other.AccessToken) == true)) && ((TokenType == null && other.TokenType == null) || (TokenType?.Equals(other.TokenType) == true)) && ((ExpiresAt == null && other.ExpiresAt == null) || (ExpiresAt?.Equals(other.ExpiresAt) == true)) && ((MerchantId == null && other.MerchantId == null) || (MerchantId?.Equals(other.MerchantId) == true)) && ((SubscriptionId == null && other.SubscriptionId == null) || (SubscriptionId?.Equals(other.SubscriptionId) == true)) && ((PlanId == null && other.PlanId == null) || (PlanId?.Equals(other.PlanId) == true))); }
public override bool Equals(StreamSubscriptionHandle <T> other) { var o = other as StreamSubscriptionHandleImpl <T>; return(o != null && SubscriptionId.Equals(o.SubscriptionId)); }
public bool Has(SubscriptionId id) { return(id.Equals(SubscriptionId)); }