다음을 통해 공유


KeyedSingletonService<TKey,TService,TInstance> 클래스

정의

단일 키 서비스를 나타냅니다.

public class KeyedSingletonService<TKey,TService,TInstance> : Orleans.Runtime.KeyedSingletonService<TKey,TService> where TService : class where TInstance : TService
type KeyedSingletonService<'Key, 'Service, #'Service (requires 'Service : null)> = class
    inherit KeyedSingletonService<'Key, 'Service (requires 'Service : null)>
Public Class KeyedSingletonService(Of TKey, TService, TInstance)
Inherits KeyedSingletonService(Of TKey, TService)

형식 매개 변수

TKey

키의 형식입니다.

TService

서비스의 유형입니다.

TInstance

인스턴스의 유형입니다.

상속
KeyedSingletonService<TKey,TService,TInstance>

생성자

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

단일 키 서비스를 나타냅니다.

속성

Key

서비스 키를 가져옵니다.

(다음에서 상속됨 KeyedSingletonService<TKey,TService>)

메서드

Equals(TKey)

단일 키 서비스를 나타냅니다.

(다음에서 상속됨 KeyedSingletonService<TKey,TService>)
GetService(IServiceProvider)

서비스 공급자에서 서비스를 가져옵니다.

(다음에서 상속됨 KeyedSingletonService<TKey,TService>)

적용 대상

추가 정보