Пример #1
0
 public void Dispose()
 {
     _consulClient?.Dispose();
     _consulClient = null;
 }
Пример #2
0
 public ConsulKeyValueStore(Uri consulUri)
 {
     _consulClient = new ConsulClient(cfg => cfg.Address = consulUri);
 }