Home ReadOnlyAttribute Class
ReadOnlyAttribute Class
Cancel

ReadOnlyAttribute Class

Namespace: Json.Schema.Generation

Inheritance: ReadOnlyAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies a readOnly keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
ValueboolWhether 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)
ParameterTypeDescription
valueboolThe value.
Contents