sharedlibrarycoreinterfaces IMiddlewareActionHandler - RaidMax/IW4M-Admin GitHub Wiki
Public interface
IMiddlewareActionHandler 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](/RaidMax/IW4M-Admin/wiki/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
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
public Task<T> Execute<T>(T value, string name)
where T :
Arguments
Type | Name | Description |
---|---|---|
T |
value | |
string |
name |
Generated with ModularDoc