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)

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)

参数

key
TKey
services
IServiceProvider

适用于