Condividi tramite


KeyedSingletonService<TKey,TService,TInstance> Classe

Definizione

Rappresenta un servizio con chiave singleton.

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)

Parametri di tipo

TKey

Tipo di chiave.

TService

Tipo di servizio.

TInstance

Tipo di istanza.

Ereditarietà
KeyedSingletonService<TKey,TService,TInstance>

Costruttori

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

Rappresenta un servizio con chiave singleton.

Proprietà

Key

Ottiene la chiave del servizio.

(Ereditato da KeyedSingletonService<TKey,TService>)

Metodi

Equals(TKey)

Rappresenta un servizio con chiave singleton.

(Ereditato da KeyedSingletonService<TKey,TService>)
GetService(IServiceProvider)

Ottiene il servizio dal provider di servizi.

(Ereditato da KeyedSingletonService<TKey,TService>)

Si applica a

Vedi anche