1 sharedlibrarycore BaseController
RaidMax edited this page 2023-05-20 22:09:21 -05:00

BaseController Public class

Diagram

  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

Members

Properties

Protected properties

Type Name Methods
ApplicationConfiguration AppConfig get
bool Authorized get, set
EFClient Client get
TranslationLookup Localization get

Public properties

Type Name Methods
IManager Manager get

Methods

Protected methods

Returns Name
Task SignInAsync(ClaimsPrincipal claimsPrinciple)

Public methods

Returns Name
void OnActionExecuting(ActionExecutingContext context)

Details

Inheritance

  • Controller

Constructors

BaseController

Source code

public BaseController(IManager manager)
Arguments
Type Name Description
IManager manager

Methods

SignInAsync

protected async Task SignInAsync(ClaimsPrincipal claimsPrinciple)
Arguments
Type Name Description
ClaimsPrincipal claimsPrinciple

OnActionExecuting

public override async void OnActionExecuting(ActionExecutingContext context)
Arguments
Type Name Description
ActionExecutingContext context

Properties

Authorized

protected bool Authorized { get; set; }

Localization

protected TranslationLookup Localization { get; }

Client

protected EFClient Client { get; }

AppConfig

protected ApplicationConfiguration AppConfig { get; }

Manager

public IManager Manager { get; }

Generated with ModularDoc