Method WithDisposeOnCompletion
WithDisposeOnCompletion<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Declaration
public static TDescription WithDisposeOnCompletion<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|