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