1 instantiation of AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
264
AIJsonSchemaCreateContext ctx =
new
(schemaExporterContext);
6 references to AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (4)
Utilities\AIJsonSchemaCreateOptions.cs (1)
26
public Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode>? TransformSchemaNode { get; init; }
Utilities\AIJsonUtilities.Schema.Create.cs (3)
264
AIJsonSchemaCreateContext
ctx = new(schemaExporterContext);
392
void ApplyDataAnnotations(ref JsonNode schema,
AIJsonSchemaCreateContext
ctx)
647
private static bool TypeIsIntegerWithStringNumberHandling(
AIJsonSchemaCreateContext
ctx, JsonObject schema, [NotNullWhen(true)] out string? numericType, out bool isNullable)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
100
case null when property.PropertyType == typeof(Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode>):
101
Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode> transformer = static (context, schema) => (JsonNode)true;