public ZooKeeperDistributedLock(string key, string configName) : this(key, ZooKeeperConfigSection.FromSection(configName)) { // }
public ZooKeeperDistributedLock(string key, ZooKeeperConfigSection config) : this(config.Server, config.DistributedLockPath, key) { // }
public ZooKeeperClient(ZooKeeperConfigSection configuration) : this(configuration.Server, TimeSpan.FromMilliseconds(configuration.SessionTimeOut)) { // }