Namespace: Json.Schema.Generation
Inheritance: PatternAttribute
🡒 ConditionalAttribute
🡒 Attribute
🡒 object
Implemented interfaces:
- INestableAttribute
- IAttributeHandler
Applies a pattern
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 | string | The regular expression pattern. |
Constructors
PatternAttribute(string value)
Creates a new Json.Schema.Generation.PatternAttribute instance.
Declaration
1
public PatternAttribute(string value)
Parameter | Type | Description |
---|---|---|
value | string | The value. |