Skip to content
Concord

Class Operation<TResult>

Namespace
Concord
Assembly
Concord.Emit.dll

Control parameter used by invoke injections that wrap a zero-argument value-producing call, such as a property getter, or a zero-parameter target method under whole-method Around.

public sealed class Operation<TResult>

Type Parameters

TResult

The value type produced by the wrapped call or target method.

Inheritance
Operation<TResult>
Inherited Members

Methods

Invoke()

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()

Returns

TResult

The value produced by the original operation.