C# Класс Rebel.Cms.Web.RebelWebApplication

Наследование: DisposableObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

Boot() защищенный Метод

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.
Результат IRebelApplicationContext

CreateBootManager() публичный Метод

Creates the boot manager.
public CreateBootManager ( ) : BootManager
Результат Rebel.Cms.Web.System.Boot.BootManager

DisposeResources() защищенный Метод

protected DisposeResources ( ) : void
Результат void

DisposeScope() защищенный Метод

protected DisposeScope ( ) : void
Результат void

OnApplicationError() защищенный Метод

protected OnApplicationError ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

OnContainerBuilding() защищенный Метод

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
Результат void

OnContainerBuildingComplete() защищенный Метод

protected OnContainerBuildingComplete ( object sender, ContainerBuilderEventArgs e ) : void
sender object
e Rebel.Cms.Web.DependencyManagement.DemandBuilders.ContainerBuilderEventArgs
Результат void

OnEndRequest() публичный Метод

public OnEndRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

RebelWebApplication() публичный Метод

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
Результат System

RebelWebApplication() публичный Метод

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
Результат System

RegisterAllDefaultMvcAreas() публичный статический Метод

public static RegisterAllDefaultMvcAreas ( ) : void
Результат void

RegisterDefaultGlobalFilters() публичный статический Метод

public static RegisterDefaultGlobalFilters ( GlobalFilterCollection filters ) : void
filters GlobalFilterCollection
Результат void

RegisterDefaultRoutes() публичный статический Метод

public static RegisterDefaultRoutes ( RouteCollection routes ) : void
routes RouteCollection
Результат void

Start() публичный Метод

public Start ( ) : IRebelApplicationContext
Результат IRebelApplicationContext