Namespace: Json.Schema.Generation
Inheritance: MaxLengthAttribute
🡒 ConditionalAttribute
🡒 Attribute
🡒 object
Implemented interfaces:
- IAttributeHandler
Applies a maxLength
keyword.
Properties
Name | Type | Summary |
---|---|---|
ConditionGroup | object | Identifies the condition group under which this attribute applies. |
Length | uint | The maximum length. |
TypeId | object | Â |
Constructors
MaxLengthAttribute(uint length)
Creates a new Json.Schema.Generation.MaxLengthAttribute instance.
Declaration
1
public MaxLengthAttribute(uint length)
Parameter | Type | Description |
---|---|---|
length | uint | The value. |