Home ExclusiveMinimumAttribute Class
ExclusiveMinimumAttribute Class
Cancel

ExclusiveMinimumAttribute Class

Namespace: Json.Schema.Generation

Inheritance: ExclusiveMinimumAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies an exclusiveMinimum keyword.

Remarks

The value parameter is provided in the constructor as a double but stored as a decimal because decimal is not a valid attribute parameter type. As such, to prevent overflows, the value is clamped to the decimal range prior to being converted.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
ValuedecimalThe exclusive minimum.

Constructors

ExclusiveMinimumAttribute(double value)

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

Declaration

1
public ExclusiveMinimumAttribute(double value)
ParameterTypeDescription
valuedoubleThe value.

Remarks

The parameter is provided as a double but stored as a decimal because decimal is not a valid attribute parameter type. As such, to prevent overflows, the value is clamped to the decimal range prior to being converted.

Contents