YamlSchemaExporterContext struct
Defines the context for the generated JSON schema for a particular node in a type graph.
Namespace: System.Text.Yaml.Schema ยท Assembly: Styml.dll
public readonly struct YamlSchemaExporterContext
Defines the context for the generated JSON schema for a particular node in a type graph.
PropertiesLink to this heading
BaseTypeInfoLink to this heading
Gets the YamlTypeInfo for polymorphic base type if the schema is being generated for a derived type.
public YamlTypeInfo? BaseTypeInfo { get; }
PathLink to this heading
The path to the current node in the generated JSON schema.
public ReadOnlySpan<string> Path { get; }
PropertyInfoLink to this heading
The YamlPropertyInfo if the schema is being generated for a property.
public YamlPropertyInfo? PropertyInfo { get; }
TypeInfoLink to this heading
The YamlTypeInfo for the type being processed.
public YamlTypeInfo TypeInfo { get; }