Namespace: Json.Schema.Generation.Intents
Inheritance: ReadOnlyIntent
🡒 object
Implemented interfaces:
- ISchemaKeywordIntent
Provides intent to create a readOnly
keyword.
Properties
Name | Type | Summary |
---|---|---|
Value | bool | The value. |
Constructors
ReadOnlyIntent(bool value)
Creates a new Json.Schema.Generation.Intents.ReadOnlyIntent instance.
Declaration
1
public ReadOnlyIntent(bool value)
Parameter | Type | Description |
---|---|---|
value | bool | The value. |
Methods
Apply(JsonSchemaBuilder builder)
Applies the keyword to the Json.Schema.JsonSchemaBuilder.
Declaration
1
public void Apply(JsonSchemaBuilder builder)
Parameter | Type | Description |
---|---|---|
builder | JsonSchemaBuilder | The builder. |