C# 클래스 Castle.MonoRail.Framework.Filters.LocalizationFilter

The LocalizationFilter can be used to determine the culture to use for resources and UI.
상속: IFilter, IFilterAttributeAware
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Perform ( ExecuteEnum exec, IRailsEngineContext context, Controller controller ) : bool

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

비공개 메소드들

메소드 설명
GetLocaleId ( IRailsEngineContext context ) : String

Gets the locale id.

GetUserLanguage ( IRequest request ) : String

Gets the user language.

메소드 상세

Perform() 공개 메소드

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
리턴 bool