C# Class Castle.MonoRail.Framework.LocalizationFilterAttribute

Inheritance: FilterAttribute
显示文件 Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
LocalizationFilterAttribute ( ) : System

Defines that you want to use a cookie named "locale", but if that fails it falls back to the client's browser locale.

LocalizationFilterAttribute ( RequestStore store, String key ) : System

Defines a new LocalizationFilter.

Method Details

LocalizationFilterAttribute() public method

Defines that you want to use a cookie named "locale", but if that fails it falls back to the client's browser locale.
public LocalizationFilterAttribute ( ) : System
return System

LocalizationFilterAttribute() public method

Defines a new LocalizationFilter.
public LocalizationFilterAttribute ( RequestStore store, String key ) : System
store RequestStore Location where the localization parameter is stored.
key String Name of the parameter in the store.
return System