Ejemplo n.º 1
0
 public NacosServiceRegister(NacosConfig config, INacosClient client, NacosListenerHelper listenerHelper, ILoggerFactory loggerFactory)
 {
     _config         = config;
     _client         = client;
     _listenerHelper = listenerHelper;
     _logger         = loggerFactory.CreateLogger <NacosServiceRegister>();
     _services       = new List <RemoveInstanceRequest>();
 }
Ejemplo n.º 2
0
 public NacosConfigProvider(NacosConfig config, INacosClient client, NacosListenerHelper listenerHelper, ILoggerFactory loggerFactory,
                            string application)
 {
     _config         = config;
     _client         = client;
     _application    = application;
     _listenerHelper = listenerHelper;
     _logger         = loggerFactory.CreateLogger <NacosConfigProvider>();
 }