Namespace: Json.Schema.Generation
Inheritance: ReadOnlyAttribute
🡒 ConditionalAttribute
🡒 Attribute
🡒 object
Implemented interfaces:
- IAttributeHandler
Applies a readOnly
keyword.
Properties
Name | Type | Summary |
---|---|---|
ConditionGroup | object | Identifies the condition group under which this attribute applies. |
TypeId | object | Â |
Value | bool | Whether the property should be read-only. |
Constructors
ReadOnlyAttribute()
Creates a new Json.Schema.Generation.ReadOnlyAttribute instance with a value of true
.
Declaration
1
public ReadOnlyAttribute()
ReadOnlyAttribute(bool value)
Creates a new Json.Schema.Generation.ReadOnlyAttribute instance.
Declaration
1
public ReadOnlyAttribute(bool value)
Parameter | Type | Description |
---|---|---|
value | bool | The value. |