Home ReadOnlyIntent Class
ReadOnlyIntent Class
Cancel

ReadOnlyIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: ReadOnlyIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a readOnly keyword.

Properties

NameTypeSummary
ValueboolThe value.

Constructors

ReadOnlyIntent(bool value)

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

Declaration

1
public ReadOnlyIntent(bool value)
ParameterTypeDescription
valueboolThe value.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

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