8 references to DefaultCookieName
LocalizationSample (2)
Startup.cs (2)
61
var cookieValue = '{CookieRequestCultureProvider.
DefaultCookieName
}=c='+culture.options[culture.selectedIndex].value+'|uic='+uiCulture.options[uiCulture.selectedIndex].value;
67
document.cookie='{CookieRequestCultureProvider.
DefaultCookieName
}=""""';
Microsoft.AspNetCore.Localization (2)
CookieRequestCultureProvider.cs (2)
24
/// Defaults to <see cref="
DefaultCookieName
"/>.
26
public string CookieName { get; set; } =
DefaultCookieName
;
Microsoft.AspNetCore.Localization.FunctionalTests (2)
LocalizationSampleTest.cs (1)
34
request.Headers.Add("Cookie", $"{CookieRequestCultureProvider.
DefaultCookieName
}={cookieValue}");
LocalizationTest.cs (1)
113
request.Headers.Add("Cookie", $"{CookieRequestCultureProvider.
DefaultCookieName
}={cookieValue}");
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
ViewEngineTests.cs (2)
165
new CookieHeaderValue(CookieRequestCultureProvider.
DefaultCookieName
, cultureCookie).ToString());
309
new CookieHeaderValue(CookieRequestCultureProvider.
DefaultCookieName
, cultureCookie).ToString());