1 sharedlibrarycoreinterfaces IMiddlewareActionHandler
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IMiddlewareActionHandler Public interface

Description

used to handle middleware actions registered from arbitrary assemblies

Diagram

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

Members

Methods

Public methods

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

Details

Summary

used to handle middleware actions registered from arbitrary assemblies

Methods

Register

Source code

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

Execute

Source code

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

Generated with ModularDoc