Home TypeIntent Class
TypeIntent Class
Cancel

TypeIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: TypeIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a type keyword.

Properties

NameTypeSummary
TypeSchemaValueTypeThe type.

Constructors

TypeIntent(SchemaValueType type)

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

Declaration

1
public TypeIntent(SchemaValueType type)
ParameterTypeDescription
typeSchemaValueTypeThe type.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

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