public ZooKeeperConfigLoader(ILoggerFactory loggerFactory, ZooKeeperOptions options) { _loggerFactory = loggerFactory; this._options = options; _logger = loggerFactory.CreateLogger <ZooKeeperConfigLoader>(); _zooKeeperManager = new ZooKeeperManager(loggerFactory, options); }
public ZooKeeperManager( ILoggerFactory loggerFactory , ZooKeeperOptions options) { this.logger = loggerFactory.CreateLogger <ZooKeeperManager>(); this.loggerFactory = loggerFactory; this.options = options; }