<PackageReference Include="System.ComponentModel" Version="4.0.1-beta-23409" />

IServiceProvider

public interface IServiceProvider
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
object GetService(Type serviceType)

Gets the service object of the specified type.