1 instantiation of JsonSchemaExporterContext
System.Text.Json (1)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
521
return new
JsonSchemaExporterContext
(typeInfo, propertyInfo, baseTypeInfo, [.. _currentPath]);
8 references to JsonSchemaExporterContext
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonSchemaCreateContext.cs (2)
23
private readonly
JsonSchemaExporterContext
_exporterContext;
25
internal AIJsonSchemaCreateContext(
JsonSchemaExporterContext
exporterContext)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
270
JsonNode TransformSchemaNode(
JsonSchemaExporterContext
schemaExporterContext, JsonNode schema)
System.Text.Json (5)
System\Text\Json\Schema\JsonSchema.cs (1)
98
public
JsonSchemaExporterContext
? ExporterContext { get; set; }
System\Text\Json\Schema\JsonSchemaExporter.cs (3)
70
JsonSchemaExporterContext
exporterContext = state.CreateContext(typeInfo, propertyInfo, parentPolymorphicTypeInfo);
497
public bool TryGetExistingJsonPointer(in
JsonSchemaExporterContext
context, [NotNullWhen(true)] out string? existingJsonPointer)
519
public
JsonSchemaExporterContext
CreateContext(JsonTypeInfo typeInfo, JsonPropertyInfo? propertyInfo, JsonTypeInfo? baseTypeInfo)
System\Text\Json\Schema\JsonSchemaExporterOptions.cs (1)
31
public Func<
JsonSchemaExporterContext
, JsonNode, JsonNode>? TransformSchemaNode { get; init; }