Home GeneratorRegistry Class
GeneratorRegistry Class
Cancel

GeneratorRegistry Class

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)
ParameterTypeDescription
generatorISchemaGeneratorThe 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.

Contents