AsyncActionFactory Constructor
Definition
- Assemblies
- Cuemon.Core.dll
AsyncActionFactory(Func<TTuple, CancellationToken, Task>, TTuple)
Initializes a new instance of the AsyncActionFactory<TTuple> class.
public AsyncActionFactory(Func<TTuple, CancellationToken, Task> method, TTuple tuple)
Parameters
methodFunc<TTuple, CancellationToken, Task>The Task based function delegate to invoke.
tupleTTupleThe n-tuple argument of
method.
AsyncActionFactory(Func<TTuple, CancellationToken, Task>, TTuple, Delegate)
Initializes a new instance of the AsyncActionFactory<TTuple> class.
public AsyncActionFactory(Func<TTuple, CancellationToken, Task> method, TTuple tuple, Delegate originalDelegate)
Parameters
methodFunc<TTuple, CancellationToken, Task>The Task based function delegate to invoke.
tupleTTupleThe n-tuple argument of
method.originalDelegateDelegateThe original delegate wrapped by
method.