Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultWebCultureResolver Members

DefaultWebCultureResolver overview

Public Instance Constructors

DefaultWebCultureResolver Constructor Initializes a new instance of the DefaultWebCultureResolver 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 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 Resolves the culture from the context.
SetCulture Not supported for this 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 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 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

DefaultWebCultureResolver Class | Spring.Globalization.Resolvers Namespace