Class ProcedureJsonSchema
The JSON Schemas of what a host gives and receives when it invokes a procedure (SignatureOf(string, string)).
public sealed record ProcedureJsonSchema : IEquatable<ProcedureJsonSchema>
- Inheritance
-
ProcedureJsonSchema
- Implements
- Inherited Members
Constructors
ProcedureJsonSchema(IReadOnlyList<ParameterJsonSchema>, JsonObject?)
The JSON Schemas of what a host gives and receives when it invokes a procedure (SignatureOf(string, string)).
public ProcedureJsonSchema(IReadOnlyList<ParameterJsonSchema> Parameters, JsonObject? Value)
Parameters
ParametersIReadOnlyList<ParameterJsonSchema>The parameters an invocation can name, in the order the procedure declares them: all but a
ParamArray.ValueJsonObjectThe schema of the value a
Functionor aProperty Getreturns; null for aSub, and for a type no JSON value converts to.
Properties
Parameters
The parameters an invocation can name, in the order the procedure declares them: all but a ParamArray.
public IReadOnlyList<ParameterJsonSchema> Parameters { get; init; }
Property Value
Value
The schema of the value a Function or a Property Get returns; null for a Sub, and for a type no JSON value
converts to.
public JsonObject? Value { get; init; }