Class ControllerExtensions
- Namespace
- Umbraco.Extensions
- Assembly
- Umbraco.Web.Common.dll
public static class ControllerExtensions
- Inheritance
-
ControllerExtensions
- Inherited Members
Methods
AuthenticateBackOfficeAsync(ControllerBase)
Runs the authentication process
public static Task<AuthenticateResult> AuthenticateBackOfficeAsync(this ControllerBase controller)
Parameters
controller
ControllerBase
Returns
GetControllerName(Controller)
Return the controller name from the controller instance
public static string GetControllerName(this Controller controllerInstance)
Parameters
controllerInstance
Controller
Returns
GetControllerName(Type)
Return the controller name from the controller type
public static string GetControllerName(Type controllerType)
Parameters
controllerType
Type
Returns
GetControllerName<T>()
Return the controller name from the controller type
public static string GetControllerName<T>()
Returns
Type Parameters
T