IExecuteScoped<T> Interface

Summary

Invoke the specified action with the scoped dependency
graph BT Type["IExecuteScoped<T>"] class Type type-node

Syntax

public interface IExecuteScoped<T>

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
T

Methods

Name Value Summary
Invoke(Action<T>) void
Invoke the specified action with the scoped dependency
Invoke(Func<T, Task>) Task
Invoke the specified async action with the scoped dependency
Invoke<TResult>(Func<T, Task<TResult>>) Task<TResult>
Invoke the specified async action returning the given result with with the scoped dependency
Invoke<TResult>(Func<T, TResult>) TResult
Invoke the specified action returning the given result with the scoped dependency

Extension Methods