Прочетете на английски Редактиране

Споделяне чрез


JsonSchemaExporterContext Struct

Definition

Defines the context in which a JSON schema within a type graph is being generated.

C#
public readonly struct JsonSchemaExporterContext
Inheritance
JsonSchemaExporterContext

Properties

BaseTypeInfo

Gets the type info for the polymorphic base type if generated as a derived type.

Path

Gets the path to the schema document currently being generated.

PropertyInfo

Gets the JsonPropertyInfo if the schema is being generated for a property.

TypeInfo

Gets the JsonTypeInfo for the type being processed.

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)