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),
Exemplo n.º 2
0
 public ClusterHealthCheckOptions(ClusterPassiveHealthCheckOptions passive, ClusterActiveHealthCheckOptions active)
 {
     Passive = passive;
     Active  = active;
 }
Exemplo n.º 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));