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>(); }
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(); }
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(); }