Partager via


KeyedService<TKey,TService> Constructeurs

Définition

Surcharges

KeyedService<TKey,TService>(TKey, Func<IServiceProvider,TKey,TService>)

Initialise une nouvelle instance de la classe KeyedService<TKey,TService>.

KeyedService<TKey,TService>(TKey, IServiceProvider, Func<IServiceProvider,TKey,TService>)

KeyedService<TKey,TService>(TKey, Func<IServiceProvider,TKey,TService>)

Initialise une nouvelle instance de la 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))

Paramètres

key
TKey

Clé.

factory
Func<IServiceProvider,TKey,TService>

Fabrique.

S’applique à

KeyedService<TKey,TService>(TKey, IServiceProvider, Func<IServiceProvider,TKey,TService>)

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

Paramètres

key
TKey
services
IServiceProvider
factory
Func<IServiceProvider,TKey,TService>

S’applique à