IServiceCollection interface

Warning

This API is now deprecated.

This pattern has been superceded by the BaseComponentContext pattern. This interface will be removed in a future release.

A shorthand pattern for extracting well-known services from a ServiceScope.

Properties

serviceScope

Returns the underlying ServiceScope that the members belong to.

Property Details

serviceScope

Returns the underlying ServiceScope that the members belong to.

readonly serviceScope: ServiceScope;

Property Value

@microsoft/sp-core-library!default:class