Partager via


ResponseCookiesFeature Constructeurs

Définition

Surcharges

ResponseCookiesFeature(IFeatureCollection)

Initialise une nouvelle instance de ResponseCookiesFeature.

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)
Obsolète.

Initialise une nouvelle instance de ResponseCookiesFeature.

ResponseCookiesFeature(IFeatureCollection)

Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs

Initialise une nouvelle instance de ResponseCookiesFeature.

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)

Paramètres

features
IFeatureCollection

IFeatureCollection contenant toutes les fonctionnalités définies, y compris ce IResponseCookiesFeature et le IHttpResponseFeature.

S’applique à

ResponseCookiesFeature(IFeatureCollection, ObjectPool<StringBuilder>)

Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs
Source:
ResponseCookiesFeature.cs

Attention

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

Initialise une nouvelle instance de ResponseCookiesFeature.

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))

Paramètres

features
IFeatureCollection

IFeatureCollection contenant toutes les fonctionnalités définies, y compris ce IResponseCookiesFeature et le IHttpResponseFeature.

builderPool
ObjectPool<StringBuilder>

, s’il ObjectPool<T>est disponible.

Attributs

S’applique à