IServiceProvider Interface

Definition

Provides access to a service identified by a globally unique identifier (GUID). For more information, see IServiceProvider.

public interface class IServiceProvider
Derived
Attributes

Remarks

This interface is safe to access from any thread.

Methods

Extension Methods

QueryService(IServiceProvider, Guid)

Gets a service exposed by a service provider based on its service GUID.

QueryService<TService>(IServiceProvider)

Gets a service exposed by a service provider based on its service type.

Applies to