Edytuj

Udostępnij za pośrednictwem


KeyedSingletonService<TKey,TService,TInstance> Class

Definition

Represents a singleton keyed service.

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

Type Parameters

TKey

The type of the key.

TService

The type of the service.

TInstance

The type of the instance.

Inheritance
KeyedSingletonService<TKey,TService,TInstance>

Constructors

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

Properties

Key

Gets the service key.

(Inherited from KeyedSingletonService<TKey,TService>)

Methods

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

Gets the service from the service provider.

(Inherited from KeyedSingletonService<TKey,TService>)

Applies to

See also