Bagikan melalui


RequestServicesFeature Kelas

Definisi

Implementasi untuk IServiceProvidersFeature mengakses layanan permintaan.

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
Warisan
RequestServicesFeature
Penerapan

Konstruktor

RequestServicesFeature(HttpContext, IServiceScopeFactory)

Menginisialisasi instans baru .RequestServicesFeature

Properti

RequestServices

Mendapatkan atau mengatur IServiceProvider cakupan ke permintaan saat ini.

Metode

Dispose()

Implementasi untuk IServiceProvidersFeature mengakses layanan permintaan.

DisposeAsync()

Implementasi untuk IServiceProvidersFeature mengakses layanan permintaan.

Berlaku untuk