Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RequestCultureResolver.ResolveCulture Method

Tries to determine culture from the request headers. If no languages are specified in the request headers, it returns default culture specifed, and if no default culture was specifed it returns current culture for the executing server thread.

[Visual Basic]
Public Overrides Sub ResolveCulture() _
    Implements ICultureResolver.ResolveCulture
public override CultureInfo ResolveCulture();

Return Value

Culture that should be used to render view.



See Also

RequestCultureResolver Class | Spring.Globalization.Resolvers Namespace