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