Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RequestCultureResolver Members

RequestCultureResolver overview

Public Instance Constructors

RequestCultureResolver Constructor Initializes a new instance of the RequestCultureResolver class.

Public Instance Properties

DefaultCulture (inherited from DefaultCultureResolver) The default CultureInfo.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCulture (inherited from DefaultWebCultureResolver) Resolves a culture by name.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ResolveCulture 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.
SetCulture Not supported for this resolver implementation
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetDefaultLocale (inherited from DefaultWebCultureResolver) 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.
GetRequestLanguage (inherited from DefaultWebCultureResolver) Extracts the users favorite language from "accept-language" header of the current request.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RequestCultureResolver Class | Spring.Globalization.Resolvers Namespace