KeyedService<TKey,TService,TInstance> Class

Definition

Represents a service which is identified by a key.

C#
public class KeyedService<TKey,TService,TInstance> : Orleans.Runtime.KeyedService<TKey,TService> where TService : class where TInstance : TService

Type Parameters

TKey

The type of the key.

TService

The type of the service.

TInstance

The type of the implementation instance.

Inheritance
KeyedService<TKey,TService,TInstance>

Constructors

Properties

Key

Gets the service key.

(Inherited from KeyedService<TKey,TService>)

Methods

Equals(TKey) (Inherited from KeyedService<TKey,TService>)
GetService(IServiceProvider)

Gets the service from the service provider.

(Inherited from KeyedService<TKey,TService>)

Applies to

Produkt Verze
.NET Orleans 3.4.5, 3.6.0, 7.0.0

See also