示例#1
0
        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();
        }
示例#2
0
        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();
        }