ControllerExtensions Class

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

public static class ControllerExtensions
Inheritance:
System.Object → ControllerExtensions

Fields

ACTION Returns the string "action".
AREA Returns the string "area".
CONTROLLER Returns the string "controller".

Methods

ActionName(ControllerContext) Gets the name of the current action.
AreaName(ControllerContext) Gets the name of the current area.
ControllerName(ControllerContext) Gets the name of the current controller.
ControllerName(Type)
ExecuteAction(ControllerContext, Type, String, IDictionary) Executes an action method on another controller with the specified parameters.
ExecuteAction(ControllerContext, Expression>) Executes an action method on another controller.
GetPartialViewName(ControllerContext, Content, Nullable)
GetPartialViewName(ControllerContext, ContentSearchResult)
GetViewName(ControllerContext, App, String)
GetViewName(ControllerContext, Content, String)