コード例 #1
0
 public ZooKeeperConfigLoader(ILoggerFactory loggerFactory, ZooKeeperOptions options)
 {
     _loggerFactory    = loggerFactory;
     this._options     = options;
     _logger           = loggerFactory.CreateLogger <ZooKeeperConfigLoader>();
     _zooKeeperManager = new ZooKeeperManager(loggerFactory, options);
 }
コード例 #2
0
 public ZooKeeperManager(
     ILoggerFactory loggerFactory
     , ZooKeeperOptions options)
 {
     this.logger        = loggerFactory.CreateLogger <ZooKeeperManager>();
     this.loggerFactory = loggerFactory;
     this.options       = options;
 }