SpeechToTextClientBuilderServiceCollectionExtensions Klass
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tillhandahåller tilläggsmetoder för registrering ISpeechToTextClient med en IServiceCollection.
public ref class SpeechToTextClientBuilderServiceCollectionExtensions abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public static class SpeechToTextClientBuilderServiceCollectionExtensions
public static class SpeechToTextClientBuilderServiceCollectionExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type SpeechToTextClientBuilderServiceCollectionExtensions = class
type SpeechToTextClientBuilderServiceCollectionExtensions = class
Public Module SpeechToTextClientBuilderServiceCollectionExtensions
- Arv
-
SpeechToTextClientBuilderServiceCollectionExtensions
- Attribut
Metoder
| Name | Description |
|---|---|
| AddKeyedSpeechToTextClient(IServiceCollection, Object, Func<IServiceProvider,ISpeechToTextClient>, ServiceLifetime) |
Registrerar en nyckelad singleton ISpeechToTextClient i IServiceCollection. |
| AddKeyedSpeechToTextClient(IServiceCollection, Object, ISpeechToTextClient, ServiceLifetime) |
Registrerar en nyckelad singleton ISpeechToTextClient i IServiceCollection. |
| AddSpeechToTextClient(IServiceCollection, Func<IServiceProvider,ISpeechToTextClient>, ServiceLifetime) |
Registrerar en singleton ISpeechToTextClient i IServiceCollection. |
| AddSpeechToTextClient(IServiceCollection, ISpeechToTextClient, ServiceLifetime) |
Registrerar en singleton ISpeechToTextClient i IServiceCollection. |