Home MultipleOfAttribute Class
MultipleOfAttribute Class
Cancel

MultipleOfAttribute Class

Namespace: Json.Schema.Generation

Inheritance: MultipleOfAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • INestableAttribute
  • IAttributeHandler

Applies a multipleOf keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
GenericParameterintThe index of the parameter to which the attribute should apply. Default is -1 to indicate the root.
TypeIdobject 
ValuedecimalThe divisor.

Constructors

MultipleOfAttribute(double value)

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

Declaration

1
public MultipleOfAttribute(double value)
ParameterTypeDescription
valuedoubleThe value.
Contents