1 write to Values
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
23Values = values;
4 references to Values
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
526if (CreateJsonArray(allowedValuesAttribute.Values, serializerOptions) is { Count: > 0 } enumArray)
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (3)
37/// <see langword="true" /> if any of the <see cref="Values"/> are equal to <paramref name="value"/>, 42/// provided that <see langword="null"/> is also specified in one of the <see cref="Values"/>. 46foreach (object? allowed in Values)