AppendCookieContext Class

Namespace
Microsoft.AspNetCore.CookiePolicy
Assemblies
  • Microsoft.AspNetCore.CookiePolicy

Syntax

public class AppendCookieContext
class Microsoft.AspNetCore.CookiePolicy.AppendCookieContext

Constructors

AppendCookieContext(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Http.CookieOptions, System.String, System.String)
public AppendCookieContext(HttpContext context, CookieOptions options, string name, string value)

Properties

Microsoft.AspNetCore.CookiePolicy.AppendCookieContext.Context
Return type:Microsoft.AspNetCore.Http.HttpContext
public HttpContext Context { get; }
Microsoft.AspNetCore.CookiePolicy.AppendCookieContext.CookieName
Return type:System.String
public string CookieName { get; set; }
Microsoft.AspNetCore.CookiePolicy.AppendCookieContext.CookieOptions
Return type:Microsoft.AspNetCore.Http.CookieOptions
public CookieOptions CookieOptions { get; }
Microsoft.AspNetCore.CookiePolicy.AppendCookieContext.CookieValue
Return type:System.String
public string CookieValue { get; set; }