다음을 통해 공유


KeyedSingletonService<TKey,TService> 생성자

정의

KeyedSingletonService<TKey,TService> 클래스의 새 인스턴스를 초기화합니다.

public KeyedSingletonService (TKey key, IServiceProvider services, Func<IServiceProvider,TKey,TService> factory);
new Orleans.Runtime.KeyedSingletonService<'Key, 'Service (requires 'Service : null)> : 'Key * IServiceProvider * Func<IServiceProvider, 'Key, 'Service (requires 'Service : null)> -> Orleans.Runtime.KeyedSingletonService<'Key, 'Service (requires 'Service : null)>
Public Sub New (key As TKey, services As IServiceProvider, factory As Func(Of IServiceProvider, TKey, TService))

매개 변수

key
TKey

키입니다.

services
IServiceProvider

서비스입니다.

factory
Func<IServiceProvider,TKey,TService>

팩터리입니다.

적용 대상