private ClusterConfig GetClusterConfig(string id, ClusterActiveHealthCheckOptions healthCheckOptions, Version version
#if NET
                                               , HttpVersionPolicy versionPolicy = HttpVersionPolicy.RequestVersionExact
#endif
                                               )
        {
            return(new ClusterConfig(
                       new Cluster {
                Id = id
            },
                       new ClusterHealthCheckOptions(default, healthCheckOptions),
Пример #2
0
 public ClusterHealthCheckOptions(ClusterPassiveHealthCheckOptions passive, ClusterActiveHealthCheckOptions active)
 {
     Passive = passive;
     Active  = active;
 }
Пример #3
0
 private ClusterConfig GetClusterConfig(string id, ClusterActiveHealthCheckOptions healthCheckOptions)
 {
     return(new ClusterConfig(
                new Cluster {
         Id = id
     }, new ClusterHealthCheckOptions(default, healthCheckOptions), default, default, null, default, null));