예제 #1
0
 /// <summary>Initializes a new instance of the <see cref="SchemaProcessorContext" /> class.</summary>
 /// <param name="type">The source type.</param>
 /// <param name="schema">The JSON Schema.</param>
 /// <param name="resolver">The resolver.</param>
 /// <param name="generator">The generator.</param>
 public SchemaProcessorContext(Type type, JsonSchema4 schema, JsonSchemaResolver resolver, JsonSchemaGenerator generator)
 {
     Type      = type;
     Schema    = schema;
     Resolver  = resolver;
     Generator = generator;
 }
예제 #2
0
 /// <summary>Initializes a new instance of the <see cref="SchemaProcessorContext" /> class.</summary>
 /// <param name="type">The source type.</param>
 /// <param name="schema">The JSON Schema.</param>
 /// <param name="resolver">The resolver.</param>
 /// <param name="generator">The generator.</param>
 /// <param name="settings">The settings.</param>
 public SchemaProcessorContext(Type type, JsonSchema schema, JsonSchemaResolver resolver, JsonSchemaGenerator generator, JsonSchemaGeneratorSettings settings)
 {
     Type      = type;
     Schema    = schema;
     Resolver  = resolver;
     Generator = generator;
     Settings  = settings;
 }