IExecuteScoped<T1, T2, T3, T4> 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>"] class Type type-node

Syntax

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

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T1
T2
T3
T4

Methods

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

Extension Methods