Home ElseIntent Class
ElseIntent Class
Cancel

ElseIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: ElseIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create an else keyword.

Properties

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

Constructors

ElseIntent(IEnumerable<ISchemaKeywordIntent> subschema)

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

Declaration

1
public ElseIntent(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