Home ConstAttribute Class
ConstAttribute Class
Cancel

ConstAttribute Class

Namespace: Json.Schema.Generation

Inheritance: ConstAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies a const keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
ValueJsonNodeThe value.

Constructors

ConstAttribute(int value)

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

Declaration

1
public ConstAttribute(int value)
ParameterTypeDescription
valueintThe value.

ConstAttribute(uint value)

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

Declaration

1
public ConstAttribute(uint value)
ParameterTypeDescription
valueuintThe value.

ConstAttribute(long value)

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

Declaration

1
public ConstAttribute(long value)
ParameterTypeDescription
valuelongThe value.

ConstAttribute(ulong value)

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

Declaration

1
public ConstAttribute(ulong value)
ParameterTypeDescription
valueulongThe value.

ConstAttribute(float value)

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

Declaration

1
public ConstAttribute(float value)
ParameterTypeDescription
valuefloatThe value.

ConstAttribute(double value)

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

Declaration

1
public ConstAttribute(double value)
ParameterTypeDescription
valuedoubleThe value.

ConstAttribute(string value)

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

Declaration

1
public ConstAttribute(string value)
ParameterTypeDescription
valuestringThe value.

ConstAttribute(bool value)

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

Declaration

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