C# Class Castle.MonoRail.Framework.Filters.LocalizationFilter

The LocalizationFilter can be used to determine the culture to use for resources and UI.
Inheritance: IFilter, IFilterAttributeAware
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Perform ( ExecuteEnum exec, IRailsEngineContext context, Controller controller ) : bool

Executes a sequence of steps to determine the browser location/culture.

Private Methods

Méthode Description
GetLocaleId ( IRailsEngineContext context ) : String

Gets the locale id.

GetUserLanguage ( IRequest request ) : String

Gets the user language.

Method Details

Perform() public méthode

Executes a sequence of steps to determine the browser location/culture.
public Perform ( ExecuteEnum exec, IRailsEngineContext context, Controller controller ) : bool
exec ExecuteEnum When this filter is being invoked
context IRailsEngineContext Current context
controller Controller The controller instance
Résultat bool