C# Class Guidelines.WebUI.Session.TimeZoneAspect

Inheritance: IContextRegistrar
显示文件 Open project: basicdays/Guidelines

Public Methods

Method Description
GetTimeZone ( ) : TimeZoneInfo
SetContext ( System.Web.Mvc.ActionExecutingContext controllerContext ) : void

Private Methods

Method Description
GetTimeZone ( string timeZoneIdString ) : TimeZoneInfo
GetTimeZoneIdString ( int numberOfAttempts, System.Web.HttpRequestBase request ) : string

Method Details

GetTimeZone() public static method

public static GetTimeZone ( ) : TimeZoneInfo
return System.TimeZoneInfo

SetContext() public method

public SetContext ( System.Web.Mvc.ActionExecutingContext controllerContext ) : void
controllerContext System.Web.Mvc.ActionExecutingContext
return void