NullLatencyContextServiceCollectionExtensions.AddNullLatencyContext Metoda

Definice

Přidá kontext latence no-op do kontejneru injektáže závislostí.

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

Parametry

services
IServiceCollection

Kontejner injektáže závislostí, do který se má přidat kontext.

Návraty

Hodnota .services

Výjimky

services je null.

Platí pro