Ejemplo n.º 1
0
 public ActionHandler(object controller, System.Reflection.MethodInfo method)
 {
     Parameters     = new List <ParameterBinder>();
     mMethod        = method;
     mMethodHandler = new MethodHandler(mMethod);
     Controller     = controller;
     LoadParameter();
     Filters = new List <FilterAttribute>();
 }
Ejemplo n.º 2
0
 public ActionHandler(object controller, System.Reflection.MethodInfo method)
 {
     Remark         = "";
     Parameters     = new List <ParameterBinder>();
     mMethod        = method;
     mMethodHandler = new MethodHandler(mMethod);
     Controller     = controller;
     LoadParameter();
     Filters        = new List <FilterAttribute>();
     Method         = "GET";
     SingleInstance = true;
     ControllerType = Controller.GetType();
 }
Ejemplo n.º 3
0
        public ActionHandler(object controller, System.Reflection.MethodInfo method)
        {
            ID             = System.Threading.Interlocked.Increment(ref mIdSeed);
            Remark         = "";
            Parameters     = new List <ParameterBinder>();
            mMethod        = method;
            mMethodHandler = new MethodHandler(mMethod);
            Controller     = controller;
            LoadParameter();
            Filters        = new List <FilterAttribute>();
            Method         = "GET";
            SingleInstance = true;
            ControllerType = Controller.GetType();
            NoConvert      = false;
            var aname = controller.GetType().Assembly.GetName();

            this.AssmblyName = aname.Name;
            this.Version     = aname.Version.ToString();
        }