Ejemplo n.º 1
0
 /// <summary>
 /// Constructor initializes custom action invoker
 /// </summary>
 public RebelController()
 {
     //this could be done by IoC but we really don't want people to have to create
     //the custom constructor each time they want to create a controller that extends this one.
     ActionInvoker          = new RebelActionInvoker(RoutableRequestContext);
     RoutableRequestContext = DependencyResolver.Current.GetService <IRoutableRequestContext>();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor initializes custom action invoker
 /// </summary>
 public RebelController(IRoutableRequestContext routableRequestContext)
 {
     ActionInvoker          = new RebelActionInvoker(RoutableRequestContext);
     RoutableRequestContext = routableRequestContext;
 }