public QueryServiceSpecsCommand() { _transport = new NetlibTransport(new BinaryProtocolFactory()); _saveDir = Configuration.Instance().Get <string>("ServiceSpecSaveDir", Path.Combine(Directory.GetCurrentDirectory(), "ServiceSpeces")); if (!Directory.Exists(_saveDir)) { Directory.CreateDirectory(_saveDir); } InitProxy(); }
public QueryServiceSpecsCommand() { _transport = new NetlibTransport(new BinaryProtocolFactory()); _saveDir = Configuration.Instance().Get<string>("ServiceSpecSaveDir", Path.Combine(Directory.GetCurrentDirectory(), "ServiceSpeces")); if (!Directory.Exists(_saveDir)) { Directory.CreateDirectory(_saveDir); } InitProxy(); }