1 instantiation of JsonSchemaExporterContext
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
548
return new
JsonSchemaExporterContext
(typeInfo, baseTypeInfo, declaringType, propertyInfo, parameterInfo, propertyAttributeProvider, _currentPath.ToArray());
8 references to JsonSchemaExporterContext
Microsoft.Extensions.AI.Abstractions (8)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (3)
106
JsonSchemaExporterContext
exporterContext = state.CreateContext(typeInfo, parentPolymorphicTypeInfo, parentType, propertyInfo, parameterInfo, propertyAttributeProvider);
518
public bool TryGetExistingJsonPointer(in
JsonSchemaExporterContext
context, [NotNullWhen(true)] out string? existingJsonPointer)
540
public
JsonSchemaExporterContext
CreateContext(
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (1)
276
public
JsonSchemaExporterContext
? GenerationContext { get; set; }
src\Shared\JsonSchemaExporter\JsonSchemaExporterOptions.cs (1)
36
public Func<
JsonSchemaExporterContext
, JsonNode, JsonNode>? TransformSchemaNode { get; init; }
Utilities\AIJsonSchemaCreateContext.cs (2)
23
private readonly
JsonSchemaExporterContext
_exporterContext;
25
internal AIJsonSchemaCreateContext(
JsonSchemaExporterContext
exporterContext)
Utilities\AIJsonUtilities.Schema.cs (1)
234
JsonNode TransformSchemaNode(
JsonSchemaExporterContext
schemaExporterContext, JsonNode schema)