Class Operation<T1, TResult>
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
Control parameter used by invoke injections that wrap a one-argument value-producing call, or a one-parameter target method under whole-method Around.
public sealed class Operation<T1, TResult>
Type Parameters
T1The wrapped call's or target method's argument type.
TResultThe value type produced by the wrapped call or target method.
- Inheritance
-
Operation<T1, TResult>
- Inherited Members
Methods
Invoke(T1)
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 TResult Invoke(T1 arg1)
Parameters
arg1T1The value to pass to the original operation.
Returns
- TResult
The value produced by the original operation.