Share via


AutoActivationExtensions Clase

Definición

Métodos de extensión para activar automáticamente singletons después de que se inicie la aplicación.

public ref class AutoActivationExtensions abstract sealed
public static class AutoActivationExtensions
type AutoActivationExtensions = class
Public Module AutoActivationExtensions
Herencia
AutoActivationExtensions

Métodos

ActivateKeyedSingleton(IServiceCollection, Type, Object)

Aplica la activación de singleton con clave en tiempo de inicio en lugar de en tiempo de ejecución.

ActivateKeyedSingleton<TService>(IServiceCollection, Object)

Aplica la activación de singleton con clave en tiempo de inicio en lugar de en tiempo de ejecución.

ActivateSingleton(IServiceCollection, Type)

Aplica la activación singleton en tiempo de inicio en lugar de en tiempo de ejecución.

ActivateSingleton<TService>(IServiceCollection)

Aplica la activación singleton en tiempo de inicio en lugar de en tiempo de ejecución.

AddActivatedKeyedSingleton(IServiceCollection, Type, Object)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

Agrega un servicio singleton activado automáticamente.

AddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton(IServiceCollection, Type)

Agrega un servicio singleton activado automáticamente del tipo especificado en serviceType al especificado IServiceCollection.

AddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton(IServiceCollection, Type, Type)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton<TService,TImplementation>(IServiceCollection)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton<TService>(IServiceCollection)

Agrega un servicio singleton activado automáticamente.

AddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

Agrega un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton(IServiceCollection, Type)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton(IServiceCollection, Type, Type)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton<TService,TImplementation>(IServiceCollection)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton<TService>(IServiceCollection)

Intenta agregar un servicio singleton activado automáticamente.

TryAddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

Intenta agregar un servicio singleton activado automáticamente.

Se aplica a