Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="mvcOptions"></param>
 /// <param name="contentResultExecutor"></param>
 /// <param name="controllerActionInvokerCache"></param>
 /// <param name="actionInvokerFactory"></param>
 /// <param name="actionInvokeInfoCache"></param>
 public RouteTesterActionInvokerFactory(
     IOptions <MvcOptions> mvcOptions,
     ContentResultExecutor contentResultExecutor,
     ControllerActionInvokerCache controllerActionInvokerCache,
     ActionInvokerFactory actionInvokerFactory,
     ActualActionInvokeInfoCache actionInvokeInfoCache)
 {
     _mvcOptions                   = mvcOptions;
     _contentResultExecutor        = contentResultExecutor;
     _controllerActionInvokerCache = controllerActionInvokerCache;
     _actionInvokerFactory         = actionInvokerFactory;
     _actionInvokeInfoCache        = actionInvokeInfoCache;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="actionContext"></param>
 /// <param name="valueProviderFactories"></param>
 /// <param name="contentResultExecutor"></param>
 /// <param name="controllerActionInvokerCache"></param>
 /// <param name="actionInvokerFactory"></param>
 /// <param name="actionInvokeInfoCache"></param>
 public RouteTesterActionInvoker(
     ActionContext actionContext,
     IList <IValueProviderFactory> valueProviderFactories,
     ContentResultExecutor contentResultExecutor,
     ControllerActionInvokerCache controllerActionInvokerCache,
     ActionInvokerFactory actionInvokerFactory,
     ActualActionInvokeInfoCache actionInvokeInfoCache)
 {
     _actionContext                = actionContext;
     _valueProviderFactories       = valueProviderFactories;
     _contentResultExecutor        = contentResultExecutor;
     _controllerActionInvokerCache = controllerActionInvokerCache;
     _actionInvokerFactory         = actionInvokerFactory;
     _actionInvokeInfoCache        = actionInvokeInfoCache;
 }