8 writes to IsEssential
CookiePolicySample (1)
Startup.cs (1)
58new CookieOptions() { IsEssential = true });
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookieConsentTests.cs (4)
65context.Response.Cookies.Append("Test", "Value", new CookieOptions() { IsEssential = false }); 91context.Response.Cookies.Append("Test", "Value", new CookieOptions() { IsEssential = false }); 110context.Response.Cookies.Append("Test", "Value", new CookieOptions() { IsEssential = true }); 140context.Response.Cookies.Append("Test", "Value", new CookieOptions() { IsEssential = true });
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
116IsEssential = IsEssential,
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
44IsEssential = options.IsEssential;
Microsoft.AspNetCore.Http.Tests (1)
CookieOptionsTests.cs (1)
24IsEssential = true,
2 references to IsEssential
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
164var issueCookie = CanTrack || options.IsEssential;
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
44IsEssential = options.IsEssential;