public ReflectedMvcAsyncActionInfo(MethodInfo method, ControllerInfo controller)
            : base(method, controller)
        {
            if (!IsAsyncMethod(method)) throw new InvalidOperationException();

             this.method = method;
        }
 public DescribedMvcAsyncActionInfo(ReflectedAsyncActionDescriptor actionDescr, ControllerInfo controller)
     : base(actionDescr, controller)
 {
     this.actionDescr = actionDescr;
 }
 public ReflectedMvcActionInfo(MethodInfo method, ControllerInfo controller)
     : base(controller)
 {
     this.method = method;
 }
Пример #4
0
 public MvcActionInfo(ControllerInfo controller)
     : base(controller)
 {
 }
Пример #5
0
 protected ActionInfo(ControllerInfo controller)
 {
     this.Controller = controller;
 }
      public DescribedHttpActionInfo(HttpActionDescriptor actionDescr, ControllerInfo controller)
         : base(controller) {

         this.actionDescr = actionDescr;
         this.reflectedActionDescr = this.actionDescr as ReflectedHttpActionDescriptor;
      }
Пример #7
0
 public DescribedHttpActionInfo(HttpActionDescriptor actionDescr, ControllerInfo controller)
     : base(controller)
 {
     this.actionDescr          = actionDescr;
     this.reflectedActionDescr = this.actionDescr as ReflectedHttpActionDescriptor;
 }
Пример #8
0
 protected ActionInfo(ControllerInfo controller)
 {
     this.Controller = controller;
 }