5 implementations of Append
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenStoreTest.cs (1)
541public void Append(string key, string value)
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
112public void Append(string key, string value)
Microsoft.AspNetCore.CookiePolicy.Test (1)
CookiePolicyTests.cs (1)
481public void Append(string key, string value)
Microsoft.AspNetCore.Http (1)
Internal\ResponseCookies.cs (1)
32public void Append(string key, string value)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
363public void Append(string key, string value)
25 references to Append
BasicWebSite (2)
Controllers\TestingController.cs (2)
116Response.Cookies.Append( 138Response.Cookies.Append("Message", $"Value-{(value + 1).ToString(CultureInfo.InvariantCulture)}");
CookiePolicySample (1)
Startup.cs (1)
51context.Response.Cookies.Append("Temp", "1");
GenericHostWebSite (2)
Controllers\TestingController.cs (2)
102Response.Cookies.Append( 124Response.Cookies.Append("Message", $"Value-{(value + 1).ToString(CultureInfo.InvariantCulture)}");
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
120Cookies.Append(key, value);
Microsoft.AspNetCore.CookiePolicy.Test (17)
CookieConsentTests.cs (12)
27context.Response.Cookies.Append("Test", "Value"); 46context.Response.Cookies.Append("Test", "Value"); 163context.Response.Cookies.Append("Test", "Value"); 186context.Response.Cookies.Append("Test", "Value"); 213context.Response.Cookies.Append("Test", "Value"); 301context.Response.Cookies.Append("Test", "Value"); 331Assert.Throws<InvalidOperationException>(() => context.Response.Cookies.Append("Test", "Value")); 362context.Response.Cookies.Append("Test", "Value"); 386context.Response.Cookies.Append("Test", "Value1"); 394context.Response.Cookies.Append("Test", "Value2"); 471context.Response.Cookies.Append("Test", "Value1"); 482context.Response.Cookies.Append("Test", "Value2");
CookiePolicyTests.cs (5)
23context.Response.Cookies.Append("A", "A"); 31context.Response.Cookies.Append("A", "A"); 39context.Response.Cookies.Append("A", "A"); 257context.Response.Cookies.Append("A", "A"); 340Assert.Throws<NotImplementedException>(() => context.Response.Cookies.Append("A", "A"));
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheMiddlewareTests.cs (1)
876c.Response.Cookies.Append("a", "b");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Startup.cs (1)
88context.Response.Cookies.Append("fromNegotiate", "a value");