Home AllOfIntent Class
AllOfIntent Class
Cancel

AllOfIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: AllOfIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a allOf keyword.

Properties

NameTypeSummary
SubschemasList<IEnumerable<ISchemaKeywordIntent>>Gets the subschemas to include.

Constructors

AllOfIntent(IEnumerable<IEnumerable<ISchemaKeywordIntent>> subschemas)

Creates a new instance of the Json.Schema.Generation.Intents.AllOfIntent class.

Declaration

1
public AllOfIntent(IEnumerable<IEnumerable<ISchemaKeywordIntent>> subschemas)
ParameterTypeDescription
subschemasIEnumerable<IEnumerable<ISchemaKeywordIntent>>The subschemas to include.

AllOfIntent(params IEnumerable<ISchemaKeywordIntent>[] subschemas)

Creates a new instance of the Json.Schema.Generation.Intents.AllOfIntent class.

Declaration

1
public AllOfIntent(params IEnumerable<ISchemaKeywordIntent>[] subschemas)
ParameterTypeDescription
subschemasparams IEnumerable<ISchemaKeywordIntent>[]The subschemas to include.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

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