Поделиться через


KeyedServiceCollection<TKey,TService>.GetServices Метод

Определение

Возвращает все службы из этой коллекции.

public System.Collections.Generic.IEnumerable<Orleans.Runtime.IKeyedService<TKey,TService>> GetServices (IServiceProvider services);
abstract member GetServices : IServiceProvider -> seq<Orleans.Runtime.IKeyedService<'Key, 'Service>>
override this.GetServices : IServiceProvider -> seq<Orleans.Runtime.IKeyedService<'Key, 'Service>>
Public Function GetServices (services As IServiceProvider) As IEnumerable(Of IKeyedService(Of TKey, TService))

Параметры

services
IServiceProvider

Поставщик службы.

Возвращаемое значение

IEnumerable<IKeyedService<TKey,TService>>

Все зарегистрированные службы с заданным типом ключа.

Реализации

Применяется к