Class CaptureAttribute
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
Binds an injection parameter to one argument of the matched call site. Valid on Head and Tail shifts of the invoke and construction forms.
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class CaptureAttribute : Attribute
- Inheritance
-
CaptureAttribute
- Inherited Members
Constructors
CaptureAttribute(uint)
Binds the decorated parameter to a 1-based argument of the matched call.
public CaptureAttribute(uint arg)
Parameters
arguintThe 1-based argument of the matched call to bind.
Properties
Arg
The 1-based argument of the matched call this parameter binds to.
public uint Arg { get; }