Home JsonNumberHandlingAttributeHandler Class
JsonNumberHandlingAttributeHandler Class
Cancel

JsonNumberHandlingAttributeHandler Class

Namespace: Json.Schema.Generation

Inheritance: JsonNumberHandlingAttributeHandler 🡒 object

Implemented interfaces:

  • IAttributeHandler<JsonNumberHandlingAttribute>
  • IAttributeHandler

Handler for the System.Text.Json.Serialization.JsonNumberHandlingAttribute.

Methods

AddConstraints(SchemaGenerationContextBase context, Attribute attribute)

Processes the type and any attributes (present on the context), and adds intents to the context.

Declaration

1
public void AddConstraints(SchemaGenerationContextBase context, Attribute attribute)
ParameterTypeDescription
contextSchemaGenerationContextBaseThe generation context.
attributeAttribute 
Contents