-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreinterfaces IMiddlewareActionHandler
RaidMax edited this page May 21, 2023
·
1 revision
used to handle middleware actions registered from arbitrary assemblies
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
Returns | Name |
---|---|
Task <T > |
Execute (T value, string name) |
void |
Register (T actionType, IMiddlewareAction <T > action, string name) |
used to handle middleware actions registered from arbitrary assemblies
public void Register<T>(T actionType, IMiddlewareAction<T> action, string name)
where T :
Type | Name | Description |
---|---|---|
T |
actionType | |
IMiddlewareAction <T > |
action | |
string |
name |
public Task<T> Execute<T>(T value, string name)
where T :
Type | Name | Description |
---|---|---|
T |
value | |
string |
name |
Generated with ModularDoc