Redigera

Dela via


KeyedService<TKey,TService,TInstance> Constructors

Definition

Overloads

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

KeyedService<TKey,TService,TInstance>(TKey)

public KeyedService (TKey key);
new Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)> : 'Key -> Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)>
Public Sub New (key As TKey)

Parameters

key
TKey

Applies to

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

Source:
KeyedService.cs
public KeyedService (TKey key, IServiceProvider services);
new Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)> : 'Key * IServiceProvider -> Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)>
Public Sub New (key As TKey, services As IServiceProvider)

Parameters

key
TKey
services
IServiceProvider

Applies to