Namespace: Json.Schema.Generation
Inheritance: GeneratorRegistry
🡒 object
Tracks the available generators.
Methods
Register(ISchemaGenerator generator)
Registers a new generator.
Declaration
1
public static void Register(ISchemaGenerator generator)
Parameter | Type | Description |
---|---|---|
generator | ISchemaGenerator | The generator. |
Remarks
Registration is order dependent: last one wins. If you have multiple generators which can handle a given type, the last one registered will be used.