Namespace: Json.Schema.Generation
Inheritance: SchemaHandlerAttribute 🡒 Attribute 🡒 object
Registers a source generation schema handler for a target type.
Properties
| Name | Type | Summary |
|---|---|---|
| TargetType | Type | The target type handled by the attributed handler. |
| TypeId | object | Â |
Constructors
SchemaHandlerAttribute(Type targetType)
Creates a new Json.Schema.Generation.SchemaHandlerAttribute instance.
Declaration
1
public SchemaHandlerAttribute(Type targetType)
| Parameter | Type | Description |
|---|---|---|
| targetType | Type | The target type handled by the schema handler. |