Implemented interface member:
22 references to Add
Aspire.Dashboard (1)
Otlp\Model\OtlpHelpers.cs (1)
143a.Add(ConvertAnyValue(item));
Microsoft.AspNetCore.OpenApi (1)
Schemas\OpenApiJsonSchema.Helpers.cs (1)
147array.Add(ReadJsonNode(ref reader));
Microsoft.Extensions.AI.Abstractions (7)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (2)
231schema.Enum.Add(null); // Append null to the enum array. 758enumValues.Add((JsonNode)effectiveName);
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
397requiredArray.Add((JsonNode)requiredProperty); 428anyOfArray.Add(schema.ToJsonNode(options)); 512array.Add((JsonNode)ToIdentifier(type)!);
Utilities\AIJsonUtilities.Schema.Create.cs (1)
110(requiredProperties ??= []).Add((JsonNode)parameter.Name);
Utilities\AIJsonUtilities.Schema.Transform.cs (1)
138requiredProps.Add((JsonNode)prop.Key);
Shared (5)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
231schema.Enum.Add(null); // Append null to the enum array. 758enumValues.Add((JsonNode)effectiveName);
JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
397requiredArray.Add((JsonNode)requiredProperty); 428anyOfArray.Add(schema.ToJsonNode(options)); 512array.Add((JsonNode)ToIdentifier(type)!);
System.Text.Json (8)
System\Text\Json\Nodes\JsonArray.cs (2)
92jsonArray.Add(list[i]?.DeepCloneCore()); 221Add(nodeToAdd);
System\Text\Json\Schema\JsonSchema.cs (3)
206requiredArray.Add((JsonNode)requiredProperty); 237anyOfArray.Add(schema.ToJsonNode(options)); 329array.Add((JsonNode)ToIdentifier(type)!);
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
188schema.Enum.Add(null); // Append null to the enum array.
System\Text\Json\Serialization\Converters\Node\JsonArrayConverter.cs (1)
59jArray.Add(item);
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
505enumValues.Add((JsonNode)fieldInfo.JsonName);