예제 #1
0
        private SendCloudManager()
        {
            Logger.CreateImpl();
            ConfigHelper.CreateImpl();
            //初始化配置模型
            var config = InitConfig();
            if (config == null)
            {
                throw new ApiException("配置初始化异常,请检查SendCloud.config");
            }

            _webApi = new SendCloudWebApi(config);
        }
예제 #2
0
        private SendCloudManager()
        {
            Logger.CreateImpl();
            ConfigHelper.CreateImpl();
            //初始化配置模型
            var config = InitConfig();

            if (config == null)
            {
                throw new ApiException("配置初始化异常,请检查SendCloud.config");
            }

            _webApi = new SendCloudWebApi(config);
        }