6 references to EnumPropertyName
Microsoft.Extensions.AI.Abstractions (6)
Utilities\AIJsonUtilities.Schema.Create.cs (6)
288
if (ctx.TypeInfo.Type.IsEnum && objSchema.ContainsKey(
EnumPropertyName
) && !objSchema.ContainsKey(TypePropertyName))
337
if (nullableElement.IsEnum && objSchema.ContainsKey(
EnumPropertyName
) && !objSchema.ContainsKey(TypePropertyName))
556
if (!obj.ContainsKey(
EnumPropertyName
))
560
obj[
EnumPropertyName
] = enumArray;
576
if (notObj[
EnumPropertyName
] is null)
580
notObj[
EnumPropertyName
] = enumArray;