Exemple #1
0
 public DefaultConsulClientFactory(ILogger <DefaultConsulClientFactory> logger, IOptions <AbpMicroDiscoveryConsulOptions> options)
 {
     Logger      = logger;
     Options     = options.Value;
     _clientDict = new ConcurrentDictionary <int, IConsulClient>();
 }
 public AbpMicroDiscoveryConsulOptionsTest()
 {
     _options = GetRequiredService <IOptions <AbpMicroDiscoveryConsulOptions> >().Value;
 }