Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultWebCultureResolver.GetDefaultLocale Method

Returns default culture. If DefaultCulture property is not set, it tries to get culture from the request headers and falls back to a current thread's culture if no headers are available.

[Visual Basic]
Protected Overrides Sub GetDefaultLocale()
[C#]
protected override CultureInfo GetDefaultLocale();

Return Value

Default culture to use.

See Also

DefaultWebCultureResolver Class | Spring.Globalization.Resolvers Namespace