KeyedService<TKey,TService> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
KeyedService<TKey,TService>(TKey, Func<IServiceProvider,TKey,TService>)
Inizializza una nuova istanza della 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))
Parametri
- key
- TKey
Chiave.
- factory
- Func<IServiceProvider,TKey,TService>
Factory.
Si applica a
KeyedService<TKey,TService>(TKey, IServiceProvider, Func<IServiceProvider,TKey,TService>)
- Origine:
- 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))
Parametri
- key
- TKey
- services
- IServiceProvider
- factory
- Func<IServiceProvider,TKey,TService>