/// <inheritdoc/> Cluster IDeepCloneable <Cluster> .DeepClone() { return(new Cluster { Id = Id, LoadBalancing = LoadBalancing?.DeepClone(), SessionAffinity = SessionAffinity?.DeepClone(), HealthCheck = HealthCheck?.DeepClone(), HttpClient = HttpClient?.DeepClone(), HttpRequest = HttpRequest?.DeepClone(), Destinations = Destinations.DeepClone(StringComparer.OrdinalIgnoreCase), Metadata = Metadata?.DeepClone(StringComparer.OrdinalIgnoreCase), }); }
/// <inheritdoc/> Backend IDeepCloneable <Backend> .DeepClone() { return(new Backend { Id = Id, CircuitBreakerOptions = CircuitBreakerOptions?.DeepClone(), QuotaOptions = QuotaOptions?.DeepClone(), PartitioningOptions = PartitioningOptions?.DeepClone(), LoadBalancing = LoadBalancing?.DeepClone(), HealthCheckOptions = HealthCheckOptions?.DeepClone(), Destinations = Destinations.DeepClone(StringComparer.Ordinal), Metadata = Metadata?.DeepClone(StringComparer.Ordinal), }); }
/// <inheritdoc/> Cluster IDeepCloneable <Cluster> .DeepClone() { return(new Cluster { Id = Id, CircuitBreakerOptions = CircuitBreakerOptions?.DeepClone(), QuotaOptions = QuotaOptions?.DeepClone(), PartitioningOptions = PartitioningOptions?.DeepClone(), LoadBalancing = LoadBalancing?.DeepClone(), SessionAffinity = SessionAffinity?.DeepClone(), HealthCheckOptions = HealthCheckOptions?.DeepClone(), Destinations = Destinations.DeepClone(StringComparer.Ordinal), Metadata = Metadata?.DeepClone(StringComparer.Ordinal), }); }
/// <inheritdoc/> Cluster IDeepCloneable <Cluster> .DeepClone() { return(new Cluster { Id = Id, CircuitBreaker = CircuitBreaker?.DeepClone(), Quota = Quota?.DeepClone(), Partitioning = Partitioning?.DeepClone(), LoadBalancing = LoadBalancing?.DeepClone(), SessionAffinity = SessionAffinity?.DeepClone(), HealthCheck = HealthCheck?.DeepClone(), HttpClient = HttpClient?.DeepClone(), Destinations = Destinations.DeepClone(StringComparer.OrdinalIgnoreCase), Metadata = Metadata?.DeepClone(StringComparer.OrdinalIgnoreCase), }); }