1 iw4madminapplicationmisc MiddlewareActionHandler
RaidMax edited this page 2023-05-20 22:09:21 -05:00

MiddlewareActionHandler Internal class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.Misc
  IW4MAdmin.Application.Misc.MiddlewareActionHandler[[MiddlewareActionHandler]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IMiddlewareActionHandler[[IMiddlewareActionHandler]]
  class SharedLibraryCore.Interfaces.IMiddlewareActionHandler interfaceStyle;
  end
SharedLibraryCore.Interfaces.IMiddlewareActionHandler --> IW4MAdmin.Application.Misc.MiddlewareActionHandler

Members

Methods

Public methods

Returns Name
Task<T> Execute(T value, string name)
void Register(T actionType, IMiddlewareAction<T> action, string name)

Details

Inheritance

Constructors

MiddlewareActionHandler

Source code

public MiddlewareActionHandler(ILogger<MiddlewareActionHandler> logger)
Arguments
Type Name Description
ILogger<MiddlewareActionHandler> logger

Methods

Execute

Source code

public virtual async Task<T> Execute<T>(T value, string name)
where T : 
Arguments
Type Name Description
T value
string name

Register

Source code

public virtual void Register<T>(T actionType, IMiddlewareAction<T> action, string name)
where T : 
Arguments
Type Name Description
T actionType
IMiddlewareAction<T> action
string name

Generated with ModularDoc