RequestServicesFeature Třída

Definice

Implementace pro IServiceProvidersFeature přístup ke službám žádostí.

public ref class RequestServicesFeature : IAsyncDisposable, IDisposable, Microsoft::AspNetCore::Http::Features::IServiceProvidersFeature
public class RequestServicesFeature : IAsyncDisposable, IDisposable, Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature
type RequestServicesFeature = class
    interface IServiceProvidersFeature
    interface IAsyncDisposable
    interface IDisposable
type RequestServicesFeature = class
    interface IServiceProvidersFeature
    interface IDisposable
    interface IAsyncDisposable
Public Class RequestServicesFeature
Implements IAsyncDisposable, IDisposable, IServiceProvidersFeature
Dědičnost
RequestServicesFeature
Implementuje

Konstruktory

RequestServicesFeature(HttpContext, IServiceScopeFactory)

Inicializuje novou instanci RequestServicesFeature.

Vlastnosti

RequestServices

Získá nebo nastaví IServiceProvider obor na aktuální požadavek.

Metody

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Platí pro