Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.iservicecollection

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > IServiceCollection

IServiceCollection interface

Warning: This API is now obsolete.

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.

Signature:

interface IServiceCollection

Properties

Property Type Description
serviceScope ServiceScope Returns the underlying ServiceScope that the members belong to.
Clone this wiki locally