次の方法で共有


KeyedService<TKey,TService,TInstance> コンストラクター

定義

オーバーロード

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)

パラメーター

key
TKey

適用対象

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

ソース:
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)

パラメーター

key
TKey
services
IServiceProvider

適用対象