Edytuj

Udostępnij za pośrednictwem


KeyedServiceCollection<TKey,TService>.GetServices Method

Definition

Gets all services from this collection.

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))

Parameters

services
IServiceProvider

The service provider.

Returns

IEnumerable<IKeyedService<TKey,TService>>

All registered services with the given key type.

Implements

Applies to