Namespace: Json.Schema.Generation
Inheritance: DefaultAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object
Implemented interfaces:
- INestableAttribute
- IAttributeHandler
Applies a default keyword.
Properties
| Name | Type | Summary |
|---|
| ConditionGroup | object | Identifies the condition group under which this attribute applies. |
| GenericParameter | int | The index of the parameter to which the attribute should apply. Default is -1 to indicate the root. |
| TypeId | object | Â |
| Value | JsonNode | The value. |
Constructors
DefaultAttribute(int value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(int value)
|
| Parameter | Type | Description |
|---|
| value | int | The value. |
DefaultAttribute(uint value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(uint value)
|
| Parameter | Type | Description |
|---|
| value | uint | The value. |
DefaultAttribute(long value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(long value)
|
| Parameter | Type | Description |
|---|
| value | long | The value. |
DefaultAttribute(ulong value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(ulong value)
|
| Parameter | Type | Description |
|---|
| value | ulong | The value. |
DefaultAttribute(float value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(float value)
|
| Parameter | Type | Description |
|---|
| value | float | The value. |
DefaultAttribute(double value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(double value)
|
| Parameter | Type | Description |
|---|
| value | double | The value. |
DefaultAttribute(string value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(string value)
|
| Parameter | Type | Description |
|---|
| value | string | The value. |
DefaultAttribute(bool value)
Creates a new Json.Schema.Generation.DefaultAttribute instance.
Declaration
1
| public DefaultAttribute(bool value)
|
| Parameter | Type | Description |
|---|
| value | bool | The value. |