Home ThenIntent Class
ThenIntent Class
Cancel

ThenIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: ThenIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a then keyword.

Properties

NameTypeSummary
SubschemaIEnumerable<ISchemaKeywordIntent>A set of intents used to define the subschema.

Constructors

ThenIntent(IEnumerable<ISchemaKeywordIntent> subschema)

Creates a new Json.Schema.Generation.Intents.ThenIntent instance.

Declaration

1
public ThenIntent(IEnumerable<ISchemaKeywordIntent> subschema)

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

1
public void Apply(JsonSchemaBuilder builder)
ParameterTypeDescription
builderJsonSchemaBuilderThe builder.
Contents