Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 420 Bytes

File metadata and controls

17 lines (10 loc) · 420 Bytes

Scaffold

IServiceProvider

Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.

Methods

// Returns an instance of type T associated with the private key.
 getInstance<T extends object>(key: string): T;

Notes

The IServiceProvider instance is available on the services property of IApplicationBuilder and IFetchContext.