Table of Contents

Class ProcedureJsonSchema

Namespace
RDCore.SDK.Runtime.Hosting
Assembly
RDCore.SDK.dll

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

Parameters IReadOnlyList<ParameterJsonSchema>

The parameters an invocation can name, in the order the procedure declares them: all but a ParamArray.

Value JsonObject

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.

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

IReadOnlyList<ParameterJsonSchema>

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; }

Property Value

JsonObject