コード例 #1
0
        public List <FunctionInfo> GetFunctionsByUser(int userID, string typeID)
        {
            List <FunctionInfo> result = new List <FunctionInfo>();

            IFunctionService     service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetFunctionsByUser(userID, typeID);
            });

            return(result);
        }