-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycore BaseController
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore
SharedLibraryCore.BaseController[[BaseController]]
end
subgraph Microsoft.AspNetCore.Mvc
Microsoft.AspNetCore.Mvc.Controller[[Controller]]
end
Microsoft.AspNetCore.Mvc.Controller --> SharedLibraryCore.BaseController
Type | Name | Methods |
---|---|---|
ApplicationConfiguration |
AppConfig |
get |
bool |
Authorized |
get, set |
EFClient |
Client |
get |
TranslationLookup |
Localization |
get |
Type | Name | Methods |
---|---|---|
IManager |
Manager |
get |
Returns | Name |
---|---|
Task |
SignInAsync (ClaimsPrincipal claimsPrinciple) |
Returns | Name |
---|---|
void |
OnActionExecuting (ActionExecutingContext context) |
Controller
public BaseController(IManager manager)
Type | Name | Description |
---|---|---|
IManager |
manager |
protected async Task SignInAsync(ClaimsPrincipal claimsPrinciple)
Type | Name | Description |
---|---|---|
ClaimsPrincipal |
claimsPrinciple |
public override async void OnActionExecuting(ActionExecutingContext context)
Type | Name | Description |
---|---|---|
ActionExecutingContext |
context |
protected bool Authorized { get; set; }
protected TranslationLookup Localization { get; }
protected EFClient Client { get; }
protected ApplicationConfiguration AppConfig { get; }
public IManager Manager { get; }
Generated with ModularDoc