Freigeben über


KeyedService<TKey,TService> Konstruktoren

Definition

Überlädt

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

Initialisiert eine neue Instanz der KeyedService<TKey,TService>-Klasse.

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

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

Initialisiert eine neue Instanz der KeyedService<TKey,TService>-Klasse.

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

Parameter

key
TKey

Der Schlüssel.

factory
Func<IServiceProvider,TKey,TService>

Die Factory.

Gilt für:

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

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

Parameter

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

Gilt für: