示例#1
0
        /// <summary>
        /// 创建一个强类型接口对象,供本地调用
        /// </summary>
        /// <returns></returns>
        private IFunctionService CreateSubClient()
        {
            CustomClientChannel <IFunctionService> factory = new CustomClientChannel <IFunctionService>(endpointConfigurationName, ConfigurationPath);

            return(factory.CreateChannel());
        }
        private IB_MenuContentService CreateSubClient()
        {
            CustomClientChannel <IB_MenuContentService> factory = new CustomClientChannel <IB_MenuContentService>(endpointConfigurationName, configurationPath);

            return(factory.CreateChannel());
        }
示例#3
0
        private ID_OrderDetailService CreateSubClient()
        {
            CustomClientChannel <ID_OrderDetailService> factory = new CustomClientChannel <ID_OrderDetailService>(endpointConfigurationName, configurationPath);

            return(factory.CreateChannel());
        }
示例#4
0
        /// <summary>
        /// 创建一个强类型接口对象,供本地调用
        /// </summary>
        /// <returns></returns>
        private iView_RoleUsersService CreateSubClient()
        {
            CustomClientChannel <iView_RoleUsersService> factory = new CustomClientChannel <iView_RoleUsersService>(endpointConfigurationName, ConfigurationPath);

            return(factory.CreateChannel());
        }