System.Object
Namespace: Umbraco.Extensions Assembly: Umbraco.Web.Common.dll Syntaxpublic static class ControllerExtensions
Methods View Source AuthenticateBackOfficeAsync(ControllerBase)
Runs the authentication process
Declarationpublic static async Task<AuthenticateResult> AuthenticateBackOfficeAsync(this ControllerBase controller)
Parameters Type Name Description Microsoft.AspNetCore.Mvc.ControllerBase controller Returns Type Description Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> View Source GetControllerName(Controller)
Return the controller name from the controller instance
Declarationpublic static string GetControllerName(this Controller controllerInstance)
Parameters Type Name Description Microsoft.AspNetCore.Mvc.Controller controllerInstance Returns Type Description System.String View Source GetControllerName(Type)
Return the controller name from the controller type
Declarationpublic static string GetControllerName(Type controllerType)
Parameters Type Name Description Type controllerType Returns Type Description System.String View Source GetControllerName<T>()
Return the controller name from the controller type
Declarationpublic static string GetControllerName<T>()
Returns Type Description System.String Type Parameters
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4