Compartilhar via


IKeyedServiceCollection<TKey,TService>.GetServices Método

Definição

Obtém todos os serviços dessa coleção.

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

Parâmetros

services
IServiceProvider

O provedor de serviços.

Retornos

IEnumerable<IKeyedService<TKey,TService>>

Todos os serviços registrados com o tipo de chave fornecido.

Aplica-se a