다음을 통해 공유


KeyedService<TKey,TService,TInstance> 클래스

정의

키로 식별되는 서비스를 나타냅니다.

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

형식 매개 변수

TKey

키의 형식입니다.

TService

서비스의 유형입니다.

TInstance

구현 인스턴스의 형식입니다.

상속
KeyedService<TKey,TService,TInstance>

생성자

KeyedService<TKey,TService,TInstance>(TKey)

키로 식별되는 서비스를 나타냅니다.

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

키로 식별되는 서비스를 나타냅니다.

속성

Key

서비스 키를 가져옵니다.

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

메서드

Equals(TKey)

키로 식별되는 서비스를 나타냅니다.

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

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

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

적용 대상

추가 정보