7 writes to Extensions
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieChunkingTests.cs (3)
71new CookieOptions() { Extensions = { "simple", "key=value" } }); 213new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com", Secure = true, Extensions = { "extension" } }); 287Extensions = { "extension" }
Microsoft.AspNetCore.Http.Tests (4)
CookieOptionsTests.cs (1)
22Extensions = { "ext1", "ext2=v2" },
ResponseCookiesTest.cs (3)
67Extensions = { "simple", "key=value" } 88Extensions = { "simple", "key=value" } 191Extensions = { "extension" }
13 references to Extensions
Microsoft.AspNetCore.CookiePolicy.Test (3)
CookieConsentTests.cs (1)
247context.CookieOptions.Extensions.Add("extension");
CookiePolicyTests.cs (2)
370OnAppendCookie = c => c.CookieOptions.Extensions.Add("extension") 421OnAppendCookie = c => c.CookieOptions.Extensions.Add("ext")
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
125options.Extensions.Add(extension);
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
CookieBuilderTests.cs (3)
62Assert.Equal(2, options.Extensions.Count); 63Assert.Contains("simple", options.Extensions); 64Assert.Contains("key=value", options.Extensions);
Microsoft.AspNetCore.Http.Tests (4)
CookieOptionsTests.cs (4)
57Assert.Equal(original.Extensions.Count, copy.Extensions.Count); 58foreach (var value in original.Extensions) 60Assert.Contains(value, copy.Extensions);
SignalR.Client.FunctionalTestApp (2)
Startup.cs (2)
187cookieOptions.Extensions.Add("partitioned"); // Required by Chromium 191expiredCookieOptions.Extensions.Add("partitioned"); // Required by Chromium