24 references to new
Microsoft.Extensions.AI.Abstractions.Tests (22)
AdditionalPropertiesDictionaryTests.cs (2)
15AdditionalPropertiesDictionary d = new(); 28AdditionalPropertiesDictionary d = new()
ChatCompletion\ChatCompletionTests.cs (3)
214AdditionalProperties = new() { ["key1"] = "value1", ["key2"] = 42 }, 246AdditionalProperties = new() { ["choice1Key"] = "choice1Value" }, 255AdditionalProperties = new() { ["choice2Key"] = "choice2Value" },
ChatCompletion\ChatMessageTests.cs (7)
266AdditionalProperties = new() { ["metadata-key-1"] = "metadata-value-1" } 270AdditionalProperties = new() { ["metadata-key-2"] = "metadata-value-2" } 274AdditionalProperties = new() { ["metadata-key-3"] = "metadata-value-3" } 278AdditionalProperties = new() { ["metadata-key-4"] = "metadata-value-4" } 282AdditionalProperties = new() { ["metadata-key-5"] = "metadata-value-5" } 286AdditionalProperties = new() { ["metadata-key-6"] = "metadata-value-6" } 297AdditionalProperties = new() { ["message-metadata-key-1"] = "message-metadata-value-1" },
ChatCompletion\ChatOptionsTests.cs (2)
63AdditionalPropertiesDictionary additionalProps = new() 123AdditionalPropertiesDictionary additionalProps = new()
ChatCompletion\StreamingChatCompletionUpdateTests.cs (1)
65AdditionalPropertiesDictionary props = new() { ["key"] = "value" };
Contents\AIContentTests.cs (1)
29AdditionalPropertiesDictionary props = new() { { "key", "value" } };
Contents\FunctionCallContentTests..cs (2)
59AdditionalPropertiesDictionary props = new() { { "key", "value" } }; 68AdditionalPropertiesDictionary args = new() { { "key", "value" } };
Contents\FunctionResultContentTests.cs (1)
47AdditionalPropertiesDictionary props = new() { { "key", "value" } };
Contents\TextContentTests.cs (1)
33AdditionalPropertiesDictionary props = new() { { "key", "value" } };
Embeddings\EmbeddingGenerationOptionsTests.cs (2)
39AdditionalPropertiesDictionary additionalProps = new() 63AdditionalPropertiesDictionary additionalProps = new()
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
118AdditionalProperties = new()
Microsoft.Extensions.AI.Tests (1)
Embeddings\DistributedCachingEmbeddingGeneratorTest.cs (1)
21AdditionalProperties = new() { ["a"] = "b" },