Class VoidOperation<T1, T2>
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
Control parameter used by invoke injections that wrap a two-argument void call, or a two-parameter void target method under whole-method Around.
public sealed class VoidOperation<T1, T2>
Type Parameters
T1The wrapped call's or target method's first argument type.
T2The wrapped call's or target method's second argument type.
- Inheritance
-
VoidOperation<T1, T2>
- Inherited Members
Methods
Invoke(T1, T2)
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)
Parameters
arg1T1The first value to pass to the original operation.
arg2T2The second value to pass to the original operation.