C# Class Rebel.Cms.Web.RebelWebApplication

Inheritance: DisposableObject
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
CreateBootManager ( ) : BootManager

Creates the boot manager.

OnEndRequest ( object sender, EventArgs e ) : void
RebelWebApplication ( HttpApplication httpApplication, AbstractContainerBuilder containerBuilder, global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory ) : System

Constructor which sets up the default logic to register Areas, Global Filters and standard MVC routes

RebelWebApplication ( HttpApplication httpApplication, AbstractContainerBuilder containerBuilder, global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory, System.Action registerAreas, System.Action registerFilters, System.Action registerCustomRoutes, System.Action registerDefaultRoutes ) : System

Constructor which sets up custom logic to register Areas, Global Filters and standard MVC routes

RegisterAllDefaultMvcAreas ( ) : void
RegisterDefaultGlobalFilters ( GlobalFilterCollection filters ) : void
RegisterDefaultRoutes ( RouteCollection routes ) : void
Start ( ) : IRebelApplicationContext

Protected Methods

Method Description
Boot ( BootManager bootManager ) : IRebelApplicationContext

Boots the specified boot manager. This method can be overriden if implementors wish to modify the environment prior to Rebel booting and building its dependency containers.

DisposeResources ( ) : void
DisposeScope ( ) : void
OnApplicationError ( object sender, EventArgs e ) : void
OnContainerBuilding ( object sender, ContainerBuilderEventArgs e ) : void

Event handler allowing developers to register their own types in the container

OnContainerBuildingComplete ( object sender, ContainerBuilderEventArgs e ) : void

Method Details

Boot() protected method

Boots the specified boot manager. This method can be overriden if implementors wish to modify the environment prior to Rebel booting and building its dependency containers.
protected Boot ( BootManager bootManager ) : IRebelApplicationContext
bootManager Rebel.Cms.Web.System.Boot.BootManager The boot manager.
return IRebelApplicationContext

CreateBootManager() public method

Creates the boot manager.
public CreateBootManager ( ) : BootManager
return Rebel.Cms.Web.System.Boot.BootManager

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

DisposeScope() protected method

protected DisposeScope ( ) : void
return void

OnApplicationError() protected method

protected OnApplicationError ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnContainerBuilding() protected method

Event handler allowing developers to register their own types in the container
protected OnContainerBuilding ( object sender, ContainerBuilderEventArgs e ) : void
sender object
e Rebel.Cms.Web.DependencyManagement.DemandBuilders.ContainerBuilderEventArgs
return void

OnContainerBuildingComplete() protected method

protected OnContainerBuildingComplete ( object sender, ContainerBuilderEventArgs e ) : void
sender object
e Rebel.Cms.Web.DependencyManagement.DemandBuilders.ContainerBuilderEventArgs
return void

OnEndRequest() public method

public OnEndRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

RebelWebApplication() public method

Constructor which sets up the default logic to register Areas, Global Filters and standard MVC routes
public RebelWebApplication ( HttpApplication httpApplication, AbstractContainerBuilder containerBuilder, global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory ) : System
httpApplication HttpApplication
containerBuilder AbstractContainerBuilder
mvcResolverFactory global::System.Web.Mvc.IDependencyResolver>.Func
return System

RebelWebApplication() public method

Constructor which sets up custom logic to register Areas, Global Filters and standard MVC routes
public RebelWebApplication ( HttpApplication httpApplication, AbstractContainerBuilder containerBuilder, global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory, System.Action registerAreas, System.Action registerFilters, System.Action registerCustomRoutes, System.Action registerDefaultRoutes ) : System
httpApplication HttpApplication
containerBuilder AbstractContainerBuilder
mvcResolverFactory global::System.Web.Mvc.IDependencyResolver>.Func
registerAreas System.Action
registerFilters System.Action
registerCustomRoutes System.Action
registerDefaultRoutes System.Action
return System

RegisterAllDefaultMvcAreas() public static method

public static RegisterAllDefaultMvcAreas ( ) : void
return void

RegisterDefaultGlobalFilters() public static method

public static RegisterDefaultGlobalFilters ( GlobalFilterCollection filters ) : void
filters GlobalFilterCollection
return void

RegisterDefaultRoutes() public static method

public static RegisterDefaultRoutes ( RouteCollection routes ) : void
routes RouteCollection
return void

Start() public method

public Start ( ) : IRebelApplicationContext
return IRebelApplicationContext