3 instantiations of SpeechToTextClientBuilder
Microsoft.Extensions.AI (3)
SpeechToText\SpeechToTextClientBuilderServiceCollectionExtensions.cs (2)
42var builder = new SpeechToTextClientBuilder(innerClientFactory); 77var builder = new SpeechToTextClientBuilder(innerClientFactory);
SpeechToText\SpeechToTextClientBuilderSpeechToTextClientExtensions.cs (1)
25return new SpeechToTextClientBuilder(innerClient);
36 references to SpeechToTextClientBuilder
Microsoft.Extensions.AI (31)
SpeechToText\ConfigureOptionsSpeechToTextClientBuilderExtensions.cs (3)
18/// <param name="builder">The <see cref="SpeechToTextClientBuilder"/>.</param> 29public static SpeechToTextClientBuilder ConfigureOptions( 30this SpeechToTextClientBuilder builder, Action<SpeechToTextOptions> configure)
SpeechToText\LoggingSpeechToTextClientBuilderExtensions.cs (3)
19/// <param name="builder">The <see cref="SpeechToTextClientBuilder"/>.</param> 34public static SpeechToTextClientBuilder UseLogging( 35this SpeechToTextClientBuilder builder,
SpeechToText\OpenTelemetrySpeechToTextClientBuilderExtensions.cs (3)
24/// <param name="builder">The <see cref="SpeechToTextClientBuilder"/>.</param> 29public static SpeechToTextClientBuilder UseOpenTelemetry( 30this SpeechToTextClientBuilder builder,
SpeechToText\SpeechToTextClientBuilder.cs (7)
21/// <summary>Initializes a new instance of the <see cref="SpeechToTextClientBuilder"/> class.</summary> 29/// <summary>Initializes a new instance of the <see cref="SpeechToTextClientBuilder"/> class.</summary> 54$"The {nameof(SpeechToTextClientBuilder)} entry at index {i} returned null. " + 64/// <returns>The updated <see cref="SpeechToTextClientBuilder"/> instance.</returns> 65public SpeechToTextClientBuilder Use(Func<ISpeechToTextClient, ISpeechToTextClient> clientFactory) 74/// <returns>The updated <see cref="SpeechToTextClientBuilder"/> instance.</returns> 75public SpeechToTextClientBuilder Use(Func<ISpeechToTextClient, IServiceProvider, ISpeechToTextClient> clientFactory)
SpeechToText\SpeechToTextClientBuilderServiceCollectionExtensions.cs (10)
20/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 22public static SpeechToTextClientBuilder AddSpeechToTextClient( 32/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 34public static SpeechToTextClientBuilder AddSpeechToTextClient( 42var builder = new SpeechToTextClientBuilder(innerClientFactory); 52/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 54public static SpeechToTextClientBuilder AddKeyedSpeechToTextClient( 66/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 68public static SpeechToTextClientBuilder AddKeyedSpeechToTextClient( 77var builder = new SpeechToTextClientBuilder(innerClientFactory);
SpeechToText\SpeechToTextClientBuilderSpeechToTextClientExtensions.cs (5)
10/// <summary>Provides extension methods for working with <see cref="ISpeechToTextClient"/> in the context of <see cref="SpeechToTextClientBuilder"/>.</summary> 14/// <summary>Creates a new <see cref="SpeechToTextClientBuilder"/> using <paramref name="innerClient"/> as its inner client.</summary> 16/// <returns>The new <see cref="SpeechToTextClientBuilder"/> instance.</returns> 18/// This method is equivalent to using the <see cref="SpeechToTextClientBuilder"/> constructor directly, 21public static SpeechToTextClientBuilder AsBuilder(this ISpeechToTextClient innerClient)
Microsoft.Extensions.AI.Tests (5)
SpeechToText\ConfigureOptionsSpeechToTextClientTests.cs (1)
27var builder = innerClient.AsBuilder();
SpeechToText\SingletonSpeechToTextClientExtensions.cs (2)
8public static SpeechToTextClientBuilder UseSingletonMiddleware(this SpeechToTextClientBuilder builder)
SpeechToText\SpeechToTextClientDependencyInjectionPatterns.cs (2)
121SpeechToTextClientBuilder builder = lifetime.HasValue 143SpeechToTextClientBuilder builder = lifetime.HasValue