Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RequestCultureResolver Class

Culture resolver that uses request headers to determine culture. 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.

For a list of all members of this type, see RequestCultureResolver Members .

System.Object
   DefaultCultureResolver
      DefaultWebCultureResolver
         RequestCultureResolver

[Visual Basic]
Public Class RequestCultureResolver
    Inherits DefaultWebCultureResolver
[C#]
public class RequestCultureResolver : DefaultWebCultureResolver

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Note: This culture resolver cannot be used to change the culture because request headers cannot be modified. In order to change the culture when using this culture resolver user has to change language settings in the web browser.

Requirements

Namespace: Spring.Globalization.Resolvers

Assembly: Spring.Web (in Spring.Web.dll)

See Also

RequestCultureResolver Members | Spring.Globalization.Resolvers Namespace