Class InjectAt.Constant
Targets an inlined literal constant in the target body.
public sealed record InjectAt.Constant : InjectAt, IEquatable<InjectAt>, IEquatable<InjectAt.Constant>
- Inheritance
-
InjectAt.Constant
- Implements
- Inherited Members
Constructors
Constant(object, uint)
Targets an inlined literal constant in the target body.
public Constant(object Value, uint By = 0)
Parameters
ValueobjectThe literal to match. Supported kinds: int, long, float, double, string.
ByuintThe 1-based occurrence to target, or
0to target every match.
Properties
By
The 1-based occurrence to target, or 0 to target every match.
public uint By { get; init; }
Property Value
Value
The literal to match. Supported kinds: int, long, float, double, string.
public object Value { get; init; }