Redigera

Dela via


IKeyedService<TKey,TService>.GetService(IServiceProvider) Method

Definition

Gets the service from the service provider.

public TService GetService (IServiceProvider services);
abstract member GetService : IServiceProvider -> 'Service
Public Function GetService (services As IServiceProvider) As TService

Parameters

services
IServiceProvider

The service provider.

Returns

TService

The service.

Applies to