Source/NFX.Wave/Handlers/MVCHandler.cs
/// <summary>
/// Gets name of MVC action from work and controller. Controller may override name of variable 
/// </summary>
Gets name of MVC action from work and controller. Controller may override name of variable
Gets name of MVC action from work and controller . Controller may override name of variable
protected virtual string GetActionName(Controller controller, WorkContext work)
      {
        var action = work.MatchedVars[controller.ActionVarName].AsString();
        if (action.IsNullOrWhiteSpace()) action = controller.DefaultActionName;
        return action;
      }
protected virtual string GetActionName ( Controller controller , WorkContext work ) { var action = work . MatchedVars [ controller . ActionVarName ] . AsString ( ) ; if ( action . IsNullOrWhiteSpace ( ) ) action = controller . DefaultActionName ; return action ; }
Gets name of MVC action from work and controller.
Gets name of MVC action from work and controller .
controller
Controller
work
WorkContext