Пример #1
0
 public ConfigurableResolver(Resolver innerResolver, BalancerConfiguration balancerConfiguration)
 {
     _innerResolver                  = innerResolver;
     _balancerConfiguration          = balancerConfiguration;
     _balancerConfiguration.Updated += OnConfigurationUpdated;
 }
Пример #2
0
 public ConfigurableResolverFactory(ResolverFactory innerResolverFactory, BalancerConfiguration balancerConfiguration)
 {
     _innerResolverFactory  = innerResolverFactory;
     _balancerConfiguration = balancerConfiguration;
 }