20 writes to CompleteAsyncCallback
Microsoft.Extensions.AI.Tests (20)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (10)
31CompleteAsyncCallback = (messages, options, cancellationToken) => 85CompleteAsyncCallback = (messages, options, cancellationToken) => 116CompleteAsyncCallback = (messages, options, cancellationToken) => Task.FromResult(expectedCompletion), 135CompleteAsyncCallback = (messages, options, cancellationToken) => Task.FromResult(expectedCompletion), 154CompleteAsyncCallback = (messages, options, cancellationToken) => Task.FromResult(expectedCompletion), 175CompleteAsyncCallback = (messages, options, cancellationToken) => 217CompleteAsyncCallback = (messages, options, cancellationToken) => 252CompleteAsyncCallback = (messages, options, cancellationToken) => Task.FromResult(expectedCompletion) 283CompleteAsyncCallback = (messages, options, cancellationToken) => 323CompleteAsyncCallback = (messages, options, cancellationToken) =>
ChatCompletion\ConfigureOptionsChatClientTests.cs (1)
43CompleteAsyncCallback = (messages, options, cancellationToken) =>
ChatCompletion\DistributedCachingChatClientTest.cs (2)
73CompleteAsyncCallback = delegate 109CompleteAsyncCallback = async delegate
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
364CompleteAsyncCallback = async (chatContents, options, cancellationToken) => 513CompleteAsyncCallback = async (contents, actualOptions, actualCancellationToken) =>
ChatCompletion\LoggingChatClientTests.cs (1)
38CompleteAsyncCallback = (messages, options, cancellationToken) =>
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
39CompleteAsyncCallback = async (messages, options, cancellationToken) =>
ChatCompletion\UseDelegateChatClientTests.cs (3)
44CompleteAsyncCallback = (chatMessages, options, cancellationToken) => 93CompleteAsyncCallback = (chatMessages, options, cancellationToken) => 186CompleteAsyncCallback = (chatMessages, options, cancellationToken) =>
1 reference to CompleteAsyncCallback
Microsoft.Extensions.AI.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestChatClient.cs (1)
24=> CompleteAsyncCallback!.Invoke(chatMessages, options, cancellationToken);