3 instantiations of SpeechToTextClientBuilder
Microsoft.Extensions.AI (3)
SpeechToText\SpeechToTextClientBuilderServiceCollectionExtensions.cs (2)
41var builder = new SpeechToTextClientBuilder(innerClientFactory); 77var builder = new SpeechToTextClientBuilder(innerClientFactory);
SpeechToText\SpeechToTextClientBuilderSpeechToTextClientExtensions.cs (1)
24return new SpeechToTextClientBuilder(innerClient);
33 references to SpeechToTextClientBuilder
Microsoft.Extensions.AI (28)
SpeechToText\ConfigureOptionsSpeechToTextClientBuilderExtensions.cs (3)
19/// <param name="builder">The <see cref="SpeechToTextClientBuilder"/>.</param> 30public static SpeechToTextClientBuilder ConfigureOptions( 31this SpeechToTextClientBuilder builder, Action<SpeechToTextOptions> configure)
SpeechToText\LoggingSpeechToTextClientBuilderExtensions.cs (3)
18/// <param name="builder">The <see cref="SpeechToTextClientBuilder"/>.</param> 33public static SpeechToTextClientBuilder UseLogging( 34this SpeechToTextClientBuilder builder,
SpeechToText\SpeechToTextClientBuilder.cs (7)
20/// <summary>Initializes a new instance of the <see cref="SpeechToTextClientBuilder"/> class.</summary> 28/// <summary>Initializes a new instance of the <see cref="SpeechToTextClientBuilder"/> class.</summary> 53$"The {nameof(SpeechToTextClientBuilder)} entry at index {i} returned null. " + 63/// <returns>The updated <see cref="SpeechToTextClientBuilder"/> instance.</returns> 64public SpeechToTextClientBuilder Use(Func<ISpeechToTextClient, ISpeechToTextClient> clientFactory) 73/// <returns>The updated <see cref="SpeechToTextClientBuilder"/> instance.</returns> 74public SpeechToTextClientBuilder Use(Func<ISpeechToTextClient, IServiceProvider, ISpeechToTextClient> clientFactory)
SpeechToText\SpeechToTextClientBuilderServiceCollectionExtensions.cs (10)
19/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 21public static SpeechToTextClientBuilder AddSpeechToTextClient( 31/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 33public static SpeechToTextClientBuilder AddSpeechToTextClient( 41var builder = new SpeechToTextClientBuilder(innerClientFactory); 51/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 53public static SpeechToTextClientBuilder AddKeyedSpeechToTextClient( 65/// <returns>A <see cref="SpeechToTextClientBuilder"/> that can be used to build a pipeline around the inner client.</returns> 67public static SpeechToTextClientBuilder AddKeyedSpeechToTextClient( 77var builder = new SpeechToTextClientBuilder(innerClientFactory);
SpeechToText\SpeechToTextClientBuilderSpeechToTextClientExtensions.cs (5)
9/// <summary>Provides extension methods for working with <see cref="ISpeechToTextClient"/> in the context of <see cref="SpeechToTextClientBuilder"/>.</summary> 13/// <summary>Creates a new <see cref="SpeechToTextClientBuilder"/> using <paramref name="innerClient"/> as its inner client.</summary> 15/// <returns>The new <see cref="SpeechToTextClientBuilder"/> instance.</returns> 17/// This method is equivalent to using the <see cref="SpeechToTextClientBuilder"/> constructor directly, 20public 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