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
controllerControllerBase
Returns
GetControllerName(Controller)
Return the controller name from the controller instance
public static string GetControllerName(this Controller controllerInstance)
  Parameters
controllerInstanceController
Returns
GetControllerName(Type)
Return the controller name from the controller type
public static string GetControllerName(Type controllerType)
  Parameters
controllerTypeType
Returns
GetControllerName<T>()
Return the controller name from the controller type
public static string GetControllerName<T>()
  Returns
Type Parameters
T