Skip to content
Docs Try Aspire

IServiceProvider.getService

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IServiceProvider {
// ... omitted for brevity
getService(typeId: string): any;
}

Signature

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

Defined on

This method is defined on the following type: