Esempio n. 1
0
 protected bool Equals(ReplicationDestination other)
 {
     return(string.Equals(Username, other.Username) && string.Equals(Password, other.Password) &&
            string.Equals(Domain, other.Domain) && string.Equals(ApiKey, other.ApiKey) &&
            string.Equals(Database, other.Database) &&
            TransitiveReplicationBehavior == other.TransitiveReplicationBehavior &&
            IgnoredClient.Equals(other.IgnoredClient) && Disabled.Equals(other.Disabled) &&
            string.Equals(ClientVisibleUrl, other.ClientVisibleUrl));
 }
Esempio n. 2
0
 public bool IsEqualTo(ReplicationDestination other)
 {
     return(string.Equals(Username, other.Username) && string.Equals(Password, other.Password) &&
            string.Equals(Domain, other.Domain) && string.Equals(ApiKey, other.ApiKey) &&
            string.Equals(Database, other.Database, StringComparison.InvariantCultureIgnoreCase) &&
            TransitiveReplicationBehavior == other.TransitiveReplicationBehavior &&
            IgnoredClient.Equals(other.IgnoredClient) && Disabled.Equals(other.Disabled) &&
            ((string.Equals(Url, other.Url, StringComparison.InvariantCultureIgnoreCase) && string.IsNullOrWhiteSpace(ClientVisibleUrl)) ||
             (!string.IsNullOrWhiteSpace(ClientVisibleUrl) && string.Equals(ClientVisibleUrl, other.ClientVisibleUrl, StringComparison.InvariantCultureIgnoreCase))));
 }
 public bool IsEqualTo(ReplicationDestination other)
 {
     return(string.Equals(Username, other.Username) && string.Equals(Password, other.Password) &&
            string.Equals(Domain, other.Domain) && string.Equals(ApiKey, other.ApiKey) &&
            string.Equals(Database, other.Database, StringComparison.OrdinalIgnoreCase) &&
            TransitiveReplicationBehavior == other.TransitiveReplicationBehavior &&
            IgnoredClient.Equals(other.IgnoredClient) && Disabled.Equals(other.Disabled) &&
            ((string.Equals(Url, other.Url, StringComparison.OrdinalIgnoreCase) && string.IsNullOrWhiteSpace(ClientVisibleUrl)) ||
             (!string.IsNullOrWhiteSpace(ClientVisibleUrl) && string.Equals(ClientVisibleUrl, other.ClientVisibleUrl, StringComparison.OrdinalIgnoreCase))) &&
            Extensions.DictionaryExtensions.ContentEquals(SpecifiedCollections, other.SpecifiedCollections));
 }