diff --git a/src/Microsoft.AspNet.Localization/CookieRequestCultureProvider.cs b/src/Microsoft.AspNet.Localization/CookieRequestCultureProvider.cs index a9a20b03a7..7d477cbbb7 100644 --- a/src/Microsoft.AspNet.Localization/CookieRequestCultureProvider.cs +++ b/src/Microsoft.AspNet.Localization/CookieRequestCultureProvider.cs @@ -17,6 +17,11 @@ namespace Microsoft.AspNet.Localization private static readonly char[] _cookieSeparator = new[] { '|' }; private static readonly string _culturePrefix = "c="; private static readonly string _uiCulturePrefix = "uic="; + + /// + /// Represent the default cookie name used to track the user's preferred culture information, which is "ASPNET_CULTURE". + /// + public static readonly string DefaultCookieName = "ASPNET_CULTURE"; /// /// The name of the cookie that contains the user's preferred culture information. @@ -41,11 +46,6 @@ namespace Microsoft.AspNet.Localization return Task.FromResult(requestCulture); } - /// - /// The default name of the cookie used to track the user's preferred culture information. - /// - public static string DefaultCookieName { get; } = "ASPNET_CULTURE"; - /// /// Creates a string representation of a for placement in a cookie. ///