Compartir a través de


KeyedService<TKey,TService,TInstance> Clase

Definición

Representa un servicio identificado por una clave.

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)

Parámetros de tipo

TKey

Tipo de la clave.

TService

Tipo de servicio.

TInstance

Tipo de la instancia de implementación.

Herencia
KeyedService<TKey,TService,TInstance>

Constructores

KeyedService<TKey,TService,TInstance>(TKey)

Representa un servicio identificado por una clave.

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

Representa un servicio identificado por una clave.

Propiedades

Key

Obtiene la clave de servicio.

(Heredado de KeyedService<TKey,TService>)

Métodos

Equals(TKey)

Representa un servicio identificado por una clave.

(Heredado de KeyedService<TKey,TService>)
GetService(IServiceProvider)

Obtiene el servicio del proveedor de servicios.

(Heredado de KeyedService<TKey,TService>)

Se aplica a

Consulte también