Namespace: Json.Schema.Generation
Inheritance: MaxItemsAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object
Implemented interfaces:
- INestableAttribute
- IAttributeHandler
Applies an maxItems keyword.
Properties
| 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 | uint | The maximum number of items. |
Constructors
MaxItemsAttribute(uint value)
Creates a new Json.Schema.Generation.MaxItemsAttribute instance.
Declaration
1
public MaxItemsAttribute(uint value)
| Parameter | Type | Description |
|---|---|---|
| value | uint | The value. |