Edytuj

Udostępnij za pośrednictwem


IKeyedServiceCollection<TKey,TService>.GetServices Method

Definition

Gets all services from this collection.

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

Parameters

services
IServiceProvider

The service provider.

Returns

IEnumerable<IKeyedService<TKey,TService>>

All registered services with the given key type.

Applies to