C# Class Rebel.Cms.Web.System.Boot.BootManager

Inheritance: DisposableObject
Mostra file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
AddAppErrorHandler ( EventHandler handler ) : BootManager
AddContainerBuildingCompleteHandler ( EventHandler handler ) : BootManager
AddContainerBuildingHandler ( EventHandler handler ) : BootManager
Boot ( ) : IRebelApplicationContext

Wires everything up

BootManager ( System.Web.HttpApplication app ) : System
InitializeContainer ( Func container ) : BootManager
MvcAreaRegistration ( System.Action registrationMethod ) : BootManager

Assigns the method to register all MVC Areas

the registrationMethod will be called just before the RenderBootstrapper is executed, but after the CmsBootstrapper.

MvcCustomRouteRegistration ( System.Action registrationMethod ) : BootManager

Creates custom MVC routes

This method will be called before the Rebel catch all route is registered

MvcDefaultRouteRegistration ( System.Action registrationMethod ) : BootManager

Creates the default MVC routes

the registrationMethod will be called after the Rebel catch all route is registered

MvcGlobalFilterRegistration ( System.Action registrationMethod ) : BootManager

Registers the MVC Global filters

SetMvcResolverFactory ( global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory ) : BootManager

Protected Methods

Method Description
DisposeResources ( ) : void

Method Details

AddAppErrorHandler() public method

public AddAppErrorHandler ( EventHandler handler ) : BootManager
handler EventHandler
return BootManager

AddContainerBuildingCompleteHandler() public method

public AddContainerBuildingCompleteHandler ( EventHandler handler ) : BootManager
handler EventHandler
return BootManager

AddContainerBuildingHandler() public method

public AddContainerBuildingHandler ( EventHandler handler ) : BootManager
handler EventHandler
return BootManager

Boot() public method

Wires everything up
public Boot ( ) : IRebelApplicationContext
return IRebelApplicationContext

BootManager() public method

public BootManager ( System.Web.HttpApplication app ) : System
app System.Web.HttpApplication
return System

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

InitializeContainer() public method

public InitializeContainer ( Func container ) : BootManager
container Func
return BootManager

MvcAreaRegistration() public method

Assigns the method to register all MVC Areas
the registrationMethod will be called just before the RenderBootstrapper is executed, but after the CmsBootstrapper.
public MvcAreaRegistration ( System.Action registrationMethod ) : BootManager
registrationMethod System.Action
return BootManager

MvcCustomRouteRegistration() public method

Creates custom MVC routes
This method will be called before the Rebel catch all route is registered
public MvcCustomRouteRegistration ( System.Action registrationMethod ) : BootManager
registrationMethod System.Action
return BootManager

MvcDefaultRouteRegistration() public method

Creates the default MVC routes
the registrationMethod will be called after the Rebel catch all route is registered
public MvcDefaultRouteRegistration ( System.Action registrationMethod ) : BootManager
registrationMethod System.Action
return BootManager

MvcGlobalFilterRegistration() public method

Registers the MVC Global filters
public MvcGlobalFilterRegistration ( System.Action registrationMethod ) : BootManager
registrationMethod System.Action
return BootManager

SetMvcResolverFactory() public method

public SetMvcResolverFactory ( global::System.Web.Mvc.IDependencyResolver>.Func mvcResolverFactory ) : BootManager
mvcResolverFactory global::System.Web.Mvc.IDependencyResolver>.Func
return BootManager