次の方法で共有


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>)

適用対象

こちらもご覧ください