Class ProgramValueArgument
An argument given as a JSON value, converted to the parameter's declared type as the arguments of a ProgramInvocation are.
public sealed record ProgramValueArgument : ProgramArgument, IEquatable<ProgramArgument>, IEquatable<ProgramValueArgument>
- Inheritance
-
ProgramValueArgument
- Implements
- Inherited Members
Constructors
ProgramValueArgument(string, JsonNode?)
An argument given as a JSON value, converted to the parameter's declared type as the arguments of a ProgramInvocation are.
public ProgramValueArgument(string Parameter, JsonNode? Value)
Parameters
ParameterstringThe name of the parameter the argument is passed to.
ValueJsonNodeThe value, as JSON.
Properties
Value
The value, as JSON.
public JsonNode? Value { get; init; }