Home IfIntent Class
IfIntent Class
Cancel

IfIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: IfIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create an if keyword.

Properties

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

Constructors

IfIntent(IEnumerable<ISchemaKeywordIntent> subschema)

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

Declaration

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