Home WriteOnlyAttribute Class
WriteOnlyAttribute Class
Cancel

WriteOnlyAttribute Class

Namespace: Json.Schema.Generation

Inheritance: WriteOnlyAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies a writeOnly keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
ValueboolWhether the property should be write-only.

Constructors

WriteOnlyAttribute()

Creates a new Json.Schema.Generation.WriteOnlyAttribute instance with a value of true.

Declaration

1
public WriteOnlyAttribute()

WriteOnlyAttribute(bool value)

Creates a new Json.Schema.Generation.WriteOnlyAttribute instance.

Declaration

1
public WriteOnlyAttribute(bool value)
ParameterTypeDescription
valueboolThe value.
Contents