Edit

Share via


KeyedService<TKey,TService,TInstance> Class

Definition

Represents a service which is identified by a key.

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)

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

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

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

See also