ResponseCookiesFeature Constructors

Definition

Overloads

ResponseCookiesFeature(IFeatureCollection)

Initializes a new ResponseCookiesFeature instance.

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)
Obsolete.

Initializes a new ResponseCookiesFeature instance.

ResponseCookiesFeature(IFeatureCollection)

Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs

Initializes a new ResponseCookiesFeature instance.

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

Parameters

features
IFeatureCollection

IFeatureCollection containing all defined features, including this IResponseCookiesFeature and the IHttpResponseFeature.

Applies to

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)

Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs

Caution

This constructor is obsolete and will be removed in a future version.

Initializes a new ResponseCookiesFeature instance.

public:
 ResponseCookiesFeature(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features, Microsoft::Extensions::ObjectPool::ObjectPool<System::Text::StringBuilder ^> ^ builderPool);
public ResponseCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> builderPool);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public ResponseCookiesFeature (Microsoft.AspNetCore.Http.Features.IFeatureCollection features, Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder>? builderPool);
new Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection * Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> -> Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature : Microsoft.AspNetCore.Http.Features.IFeatureCollection * Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> -> Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature
Public Sub New (features As IFeatureCollection, builderPool As ObjectPool(Of StringBuilder))

Parameters

features
IFeatureCollection

IFeatureCollection containing all defined features, including this IResponseCookiesFeature and the IHttpResponseFeature.

builderPool
ObjectPool<StringBuilder>

The ObjectPool<T>, if available.

Attributes

Applies to