C# Class Sage.Project

Implements the HttpApplication class for this web application.
Inheritance: System.Web.HttpApplication
ファイルを表示 Open project: igorfrance/sage

Private Properties

Property Type Description
GenerateThreadId string
GetExtension Sage.Extensibility.ExtensionInfo
GetVirtualDirectories string>.Dictionary
GetVirtualDirectories string>.Dictionary
Initialize void
InitializeConfiguration SageContext
RegisterRoutes void
Start void

Public Methods

Method Description
GetType ( string typeName ) : Type

Gets the type with the specified typeName, searching in all RelevantAssemblies.

Protected Methods

Method Description
Application_BeginRequest ( object sender, EventArgs e ) : void

Handles the BeginRequest event of the Application control.

Application_End ( object sender, EventArgs e ) : void

Handles the End event of the Application control.

Logs the application shutdown event, together with the reason and detail of the shutdown.

Application_EndRequest ( object sender, EventArgs e ) : void

Handles the EndRequest event of the Application control.

Application_Error ( object sender, EventArgs e ) : void

Handles the Error event of the Application control.

Application_Start ( ) : void

Handles the Start event of the Application control.

Start ( SageContext context ) : void

Starts this instance.

Private Methods

Method Description
GenerateThreadId ( bool appStart = false ) : string
GetExtension ( Controller controller ) : ExtensionInfo
GetVirtualDirectories ( System.DirectoryServices.DirectoryEntry directory, string path ) : string>.Dictionary
GetVirtualDirectories ( SageContext context ) : string>.Dictionary
Initialize ( SageContext context ) : void

Initializes the application using the specified project configuration instance.

InitializeConfiguration ( SageContext context ) : SageContext
RegisterRoutes ( ) : void
Start ( System.Web.HttpContextBase httpContext ) : void

Method Details

Application_BeginRequest() protected method

Handles the BeginRequest event of the Application control.
protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Application_End() protected method

Handles the End event of the Application control.
Logs the application shutdown event, together with the reason and detail of the shutdown.
protected Application_End ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Application_EndRequest() protected method

Handles the EndRequest event of the Application control.
protected Application_EndRequest ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Application_Error() protected method

Handles the Error event of the Application control.
protected Application_Error ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Application_Start() protected method

Handles the Start event of the Application control.
protected Application_Start ( ) : void
return void

GetType() public static method

Gets the type with the specified typeName, searching in all RelevantAssemblies.
public static GetType ( string typeName ) : Type
typeName string The name of the type to get.
return System.Type

Start() protected static method

Starts this instance.
protected static Start ( SageContext context ) : void
context SageContext The context.
return void