Skip to content
Concord

Class VoidOperation<T1, T2, T3, T4>

Namespace
Concord
Assembly
Concord.Emit.dll

Control parameter used by invoke injections that wrap a four-argument void call, or a four-parameter void target method under whole-method Around.

[SuppressMessage("Major Code Smell", "S2436", Justification = "Arity-N Operation handle; the type parameters mirror the wrapped target method's signature and are the handle's contract.")]
public sealed class VoidOperation<T1, T2, T3, T4>

Type Parameters

T1

The wrapped call's or target method's first argument type.

T2

The wrapped call's or target method's second argument type.

T3

The wrapped call's or target method's third argument type.

T4

The wrapped call's or target method's fourth argument type.

Inheritance
VoidOperation<T1, T2, T3, T4>
Inherited Members

Methods

Invoke(T1, T2, T3, T4)

Invokes the original operation from inside a wrap injection.

[SuppressMessage("Critical Code Smell", "S1186", Justification = "Marker signature erased and replaced by Concord IL lowering at emit time; a real body would be dead code.")]
public void Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4)

Parameters

arg1 T1

The first value to pass to the original operation.

arg2 T2

The second value to pass to the original operation.

arg3 T3

The third value to pass to the original operation.

arg4 T4

The fourth value to pass to the original operation.