![]() |
VOOZH | about |
ExclusiveMinimumAttribute Class
Namespace: Json.Schema.Generation
Inheritance: ExclusiveMinimumAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object
Implemented interfaces:
Applies an exclusiveMinimum keyword.
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.
| Name | Type | Summary |
|---|---|---|
| ConditionGroup | object | Identifies the condition group under which this attribute applies. |
| GenericParameter | int | The index of the parameter to which the attribute should apply. Default is -1 to indicate the root. |
| TypeId | object | |
| Value | decimal | The exclusive minimum. |
Creates a new Json.Schema.Generation.ExclusiveMinimumAttribute instance.
1
public ExclusiveMinimumAttribute(double value)
| Parameter | Type | Description |
|---|---|---|
| value | double | The value. |
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.
A new version of content is available.