IExecuteScoped<T1, T2, T3, T4, T5> Interface

Summary

Execution of a set of dependencies from a scope that is automatically disposed after execution
graph BT Type["IExecuteScoped<T1, T2, T3, T4, T5>"] class Type type-node

Syntax

public interface IExecuteScoped<T1, T2, T3, T4, T5>

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T1
T2
T3
T4
T5

Methods

Name Value Summary
Invoke(Action<T1, T2, T3, T4, T5>) void
Invoke the specified action with the scoped dependencies
Invoke(Func<T1, T2, T3, T4, T5, Task>) Task
Invoke the specified async action with the scoped dependency
Invoke<TResult>(Func<T1, T2, T3, T4, T5, Task<TResult>>) Task<TResult>
Invoke the specified async action returning the given result with with the scoped dependencies
Invoke<TResult>(Func<T1, T2, T3, T4, T5, TResult>) TResult
Invoke the specified action returning the given result with the scoped dependencies

Extension Methods