Implemented interface members:
9 references to Count
Microsoft.Extensions.AI.Abstractions.Tests (5)
AdditionalPropertiesDictionaryTests.cs (3)
22Assert.Equal(2, d.Count); 37Assert.Equal(3, d.Count); 120Assert.Equal(NumProperties, d.Count);
ChatCompletion\StreamingChatCompletionUpdateExtensionsTests.cs (2)
75Assert.Equal(2, message.AdditionalProperties.Count); 83Assert.Equal(3, message.AdditionalProperties.Count);
Microsoft.Extensions.AI.OpenAI (3)
OpenAIEmbeddingGenerator.cs (1)
147if (options?.AdditionalProperties is { Count: > 0 } additionalProperties)
OpenAIModelMapper.ChatCompletion.cs (2)
258if (options.AdditionalProperties is { Count: > 0 } additionalProperties) 458if (usageDetails.AdditionalCounts is { Count: > 0 } additionalCounts)
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
630Assert.Equal(2, actualUsage.AdditionalCounts!.Count);