private bool GetMethod(HttpRequest httpRequest, out ProcessMethodHandler method)
        {
            string m = httpRequest.Params["method"];
            switch (m)
            {
                case "GetTaskStat":
                    method = new ProcessMethodHandler(this.GetTaskStat);
                    break;
                default:
                    method = null;
                    break;
            }

            return method != null;
        }
Beispiel #2
0
        private bool GetMethod(HttpRequest httpRequest, out ProcessMethodHandler method)
        {
            string m = httpRequest.Params["method"];

            switch (m)
            {
            case "GetTaskStat":
                method = new ProcessMethodHandler(this.GetTaskStat);
                break;

            default:
                method = null;
                break;
            }

            return(method != null);
        }