Bagikan melalui


DefaultHttpContextFactory Kelas

Definisi

Pabrik untuk membuat HttpContext instans.

public ref class DefaultHttpContextFactory : Microsoft::AspNetCore::Http::IHttpContextFactory
public class DefaultHttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory
type DefaultHttpContextFactory = class
    interface IHttpContextFactory
Public Class DefaultHttpContextFactory
Implements IHttpContextFactory
Warisan
DefaultHttpContextFactory
Penerapan

Konstruktor

DefaultHttpContextFactory(IServiceProvider)

Membuat pabrik untuk membuat HttpContext instans.

Metode

Create(IFeatureCollection)

Buat instans yang HttpContextfeatureCollectiondiberi .

Dispose(HttpContext)

Menghapus .HttpContext

Berlaku untuk