KeyedService<TKey,TService> Class

Definition

Represents a service which is identified by a key.

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

Type Parameters

TKey

The type of the key.

TService

The type of the service.

Inheritance
KeyedService<TKey,TService>
Derived
Implements

Constructors

Properties

Key

Gets the service key.

Methods

Equals(TKey)

Indicates whether the current object is equal to another object of the same type.

GetService(IServiceProvider)

Gets the service from the service provider.

Applies to

Produkt Verze
.NET Orleans 3.4.5, 3.6.0, 7.0.0

See also