15 references to CookieName
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
TempDataInCookiesTest.cs (5)
70setCookieValues = setCookieValues.Where(cookie => cookie.Contains(CookieTempDataProvider.CookieName)); 98.FirstOrDefault(setCookieHeader => setCookieHeader.Name == CookieTempDataProvider.CookieName); 131.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.CookieName); 154.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.CookieName); 184.FirstOrDefault(setCookieHeaderValue => setCookieHeaderValue.Name == CookieTempDataProvider.CookieName);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
CookieTempDataProviderOptions.cs (1)
16Name = CookieTempDataProvider.CookieName,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
CookieTempDataProviderTest.cs (9)
82context.Request.Headers.Cookie = $"{CookieTempDataProvider.CookieName}={base64AndUrlEncodedDataInCookie}"; 91Assert.Equal(CookieTempDataProvider.CookieName, setCookieHeader.Name.ToString()); 104httpContext.Request.Headers.Cookie = $"{CookieTempDataProvider.CookieName}={base64AndUrlEncodedDataInCookie}"; 134var cookieInfo = responseCookies[CookieTempDataProvider.CookieName]; 170var cookieInfo = responseCookies[CookieTempDataProvider.CookieName]; 205var cookieInfo = responseCookies[CookieTempDataProvider.CookieName]; 254var cookieInfo = responseCookies[CookieTempDataProvider.CookieName]; 274var requestCookies = $"{CookieTempDataProvider.CookieName}={base64AndUrlEncodedData}"; 287Assert.Equal(CookieTempDataProvider.CookieName, cookie.Name.AsSpan());