Compartir vía


NullLatencyContextServiceCollectionExtensions.AddNullLatencyContext Método

Definición

Agrega un contexto de latencia sin operación a un contenedor de inserción de dependencias.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddNullLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddNullLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddNullLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddNullLatencyContext (services As IServiceCollection) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el contexto.

Devoluciones

El valor de services.

Excepciones

services es null.

Se aplica a