2 instantiations of OpenTelemetryTextToSpeechClient
Microsoft.Extensions.AI (1)
TextToSpeech\OpenTelemetryTextToSpeechClientBuilderExtensions.cs (1)
38var client = new OpenTelemetryTextToSpeechClient(innerClient, loggerFactory?.CreateLogger(typeof(OpenTelemetryTextToSpeechClient)), sourceName);
Microsoft.Extensions.AI.Tests (1)
TextToSpeech\OpenTelemetryTextToSpeechClientTests.cs (1)
22Assert.Throws<ArgumentNullException>("innerClient", () => new OpenTelemetryTextToSpeechClient(null!));
6 references to OpenTelemetryTextToSpeechClient
Microsoft.Extensions.AI (6)
TextToSpeech\OpenTelemetryTextToSpeechClient.cs (1)
43/// <summary>Initializes a new instance of the <see cref="OpenTelemetryTextToSpeechClient"/> class.</summary>
TextToSpeech\OpenTelemetryTextToSpeechClientBuilderExtensions.cs (5)
13/// <summary>Provides extensions for configuring <see cref="OpenTelemetryTextToSpeechClient"/> instances.</summary> 27/// <param name="configure">An optional callback that can be used to configure the <see cref="OpenTelemetryTextToSpeechClient"/> instance.</param> 33Action<OpenTelemetryTextToSpeechClient>? configure = null) => 38var client = new OpenTelemetryTextToSpeechClient(innerClient, loggerFactory?.CreateLogger(typeof(OpenTelemetryTextToSpeechClient)), sourceName);