Summary
Invoke the specified async action returning the given result with with the scoped dependency
- Assembly
- Rocket
.Surgery .DependencyInjection .Extensions .dll - Namespace
- Rocket
.Surgery .DependencyInjection - Containing Type
- IExecuteScoped
<T>
Syntax
Task<TResult> Invoke<TResult>(Func<T, Task<TResult>> action)
Type Parameters
Name | Description |
---|---|
TResult |
Parameters
Name | Type | Description |
---|---|---|
action | Func |
Return Value
Type | Description |
---|---|
Task |