Class Operation<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
Control parameter used by invoke injections that wrap an eight-argument value-producing call, or an eight-parameter 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 Operation<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
Type Parameters
T1The wrapped call's or target method's first argument type.
T2The wrapped call's or target method's second argument type.
T3The wrapped call's or target method's third argument type.
T4The wrapped call's or target method's fourth argument type.
T5The wrapped call's or target method's fifth argument type.
T6The wrapped call's or target method's sixth argument type.
T7The wrapped call's or target method's seventh argument type.
T8The wrapped call's or target method's eighth argument type.
TResultThe value type produced by the wrapped call or target method.
- Inheritance
-
Operation<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
- Inherited Members
Methods
Invoke(T1, T2, T3, T4, T5, T6, T7, T8)
Invokes the original operation from inside a wrap injection.
[SuppressMessage("Major Code Smell", "S107", Justification = "Arity-8 Operation handle; the parameters are the original operation's signature and mirror the target it wraps.")]
[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 TResult Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)
Parameters
arg1T1The first value to pass to the original operation.
arg2T2The second value to pass to the original operation.
arg3T3The third value to pass to the original operation.
arg4T4The fourth value to pass to the original operation.
arg5T5The fifth value to pass to the original operation.
arg6T6The sixth value to pass to the original operation.
arg7T7The seventh value to pass to the original operation.
arg8T8The eighth value to pass to the original operation.
Returns
- TResult
The value produced by the original operation.