Home SchemaHandlerAttribute Class
SchemaHandlerAttribute Class
Cancel

SchemaHandlerAttribute Class

Namespace: Json.Schema.Generation

Inheritance: SchemaHandlerAttribute 🡒 Attribute 🡒 object

Registers a source generation schema handler for a target type.

Properties

NameTypeSummary
TargetTypeTypeThe target type handled by the attributed handler.
TypeIdobject 

Constructors

SchemaHandlerAttribute(Type targetType)

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

Declaration

1
public SchemaHandlerAttribute(Type targetType)
ParameterTypeDescription
targetTypeTypeThe target type handled by the schema handler.
Contents