Skip to content
Docs Try Aspire

IServiceProvider

Interface TypeScript
📦 Aspire.Hosting.Azure.CognitiveServices v13.2.0-preview.1.26159.1
interface IServiceProvider {
getRequiredService(typeId: string): any;
getService(typeId: string): any;
}

Methods

method getRequiredService
Gets a required service by ATS type ID
getRequiredService(typeId: string): any
typeId string
any
method getService
Gets a service by ATS type ID
getService(typeId: string): any
typeId string
any