DefaultHttpContext 构造函数

定义

重载

DefaultHttpContext()

初始化 DefaultHttpContext 类的新实例。

DefaultHttpContext(IFeatureCollection)

使用提供的功能初始化 类的新实例 DefaultHttpContext

DefaultHttpContext()

Source:
DefaultHttpContext.cs
Source:
DefaultHttpContext.cs
Source:
DefaultHttpContext.cs

初始化 DefaultHttpContext 类的新实例。

public:
 DefaultHttpContext();
public DefaultHttpContext ();
Public Sub New ()

适用于

DefaultHttpContext(IFeatureCollection)

Source:
DefaultHttpContext.cs
Source:
DefaultHttpContext.cs
Source:
DefaultHttpContext.cs

使用提供的功能初始化 类的新实例 DefaultHttpContext

public:
 DefaultHttpContext(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public DefaultHttpContext (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.AspNetCore.Http.DefaultHttpContext : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.DefaultHttpContext
Public Sub New (features As IFeatureCollection)

参数

features
IFeatureCollection

的初始功能 DefaultHttpContext集。

适用于