コード例 #1
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public SecurityPermissionFacotry()
        {
            this.config = ModuleConfiguration.ModuleConfig;
            this.log = new LogContainer(this.config);

            this.service = new SecurityPermissionFactoryServicePoxy();
            this.service.Url = this.config.SecurityPermissionUrl;
        }
コード例 #2
0
        /// <summary>
        /// 构造函数。
        /// </summary>
        public SecurityFactory()
        {
            this.config = ModuleConfiguration.ModuleConfig;
            this.log = new LogContainer(this.config);

            this.service = new SecurityFactoryProviderServicePoxy();
            this.service.Url = this.config.SecurityFactoryUrl;
        }