1 write to _client
Microsoft.Extensions.AI.Integration.Tests (1)
TextToSpeechClientIntegrationTests.cs (1)
20_client = CreateClient();
8 references to _client
Microsoft.Extensions.AI.Integration.Tests (8)
TextToSpeechClientIntegrationTests.cs (8)
25_client?.Dispose(); 36var response = await _client.GetAudioAsync("Hello, world!"); 52var response = await _client.GetAudioAsync("The quick brown fox jumps over the lazy dog.", new TextToSpeechOptions 71var response = await _client.GetAudioAsync("Testing audio format selection.", new TextToSpeechOptions 90var response = await _client.GetAudioAsync("This should be spoken quickly.", new TextToSpeechOptions 109await foreach (var update in _client.GetStreamingAudioAsync("Hello, world!")) 127[MemberNotNull(nameof(_client))] 132Assert.SkipUnless(skipIntegration is null && _client is not null, "Client is not enabled.");