KeyedService<TKey,TService> Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
KeyedService<TKey,TService>(TKey, Func<IServiceProvider,TKey,TService>)
Inicializa uma nova instância da classe KeyedService<TKey,TService>.
public KeyedService (TKey key, Func<IServiceProvider,TKey,TService> factory);
new Orleans.Runtime.KeyedService<'Key, 'Service (requires 'Service : null)> : 'Key * Func<IServiceProvider, 'Key, 'Service (requires 'Service : null)> -> Orleans.Runtime.KeyedService<'Key, 'Service (requires 'Service : null)>
Public Sub New (key As TKey, factory As Func(Of IServiceProvider, TKey, TService))
Parâmetros
- key
- TKey
A chave.
- factory
- Func<IServiceProvider,TKey,TService>
O alocador.
Aplica-se a
KeyedService<TKey,TService>(TKey, IServiceProvider, Func<IServiceProvider,TKey,TService>)
- Origem:
- KeyedService.cs
public KeyedService (TKey key, IServiceProvider services, Func<IServiceProvider,TKey,TService> factory);
new Orleans.Runtime.KeyedService<'Key, 'Service (requires 'Service : null)> : 'Key * IServiceProvider * Func<IServiceProvider, 'Key, 'Service (requires 'Service : null)> -> Orleans.Runtime.KeyedService<'Key, 'Service (requires 'Service : null)>
Public Sub New (key As TKey, services As IServiceProvider, factory As Func(Of IServiceProvider, TKey, TService))
Parâmetros
- key
- TKey
- services
- IServiceProvider
- factory
- Func<IServiceProvider,TKey,TService>