C# 클래스 BrickPile.Core.DefaultBrickPileBootstrapper

Responsible for handling the default initialisation of BrickPile
상속: IBrickPileBootstrapper
파일 보기 프로젝트 열기: brickpile/brickpile

공개 메소드들

메소드 설명
ConfigureApplicationContainer ( IContainer container ) : void

Configures the application container with any additional registrations

ConfigureConventions ( BrickPile.Core.Conventions.BrickPileConventions brickPileConventions ) : void

Overrides/configures BrickPile's conventions

ConfigureDocumentStore ( IDocumentStore documentStore ) : void

Configures the document store.

DefaultBrickPileBootstrapper ( ) : System

Initializes a new instance of the DefaultBrickPileBootstrapper class.

Initialise ( ) : void

Initialises BrickPile.

보호된 메소드들

메소드 설명
ConfigureApplicationContainerInternal ( IContainer container, IDocumentStore documentStore ) : void

Configures the application container with registrations needed for BrickPile to work properly

CreateDefaultDocuments ( IDocumentStore documentStore ) : void

Setups the default documents.

GetApplicationContainer ( ) : IContainer

Gets the Container instance - automatically set during initialise.

RegisterRoutes ( RouteCollection routes ) : void

Registers the custom route.

비공개 메소드들

메소드 설명
ConfigureDocumentStoreInternal ( EmbeddableDocumentStore documentStore ) : void

Configures the document store internal.

OnDocumentDelete ( string key, IPage page, RavenJObject metadata ) : void

Called when [document delete].

OnPagePublish ( string key, IPage currentPage, RavenJObject metadata ) : void

Called when [page publish].

OnPageSave ( string key, IPage currentPage, RavenJObject metadata ) : void
OnPageUnPublish ( string key, IPage currentPage, RavenJObject metadata ) : void

Called when [page un publish].

메소드 상세

ConfigureApplicationContainer() 공개 메소드

Configures the application container with any additional registrations
public ConfigureApplicationContainer ( IContainer container ) : void
container IContainer The container.
리턴 void

ConfigureApplicationContainerInternal() 보호된 메소드

Configures the application container with registrations needed for BrickPile to work properly
protected ConfigureApplicationContainerInternal ( IContainer container, IDocumentStore documentStore ) : void
container IContainer The container.
documentStore IDocumentStore The document store.
리턴 void

ConfigureConventions() 공개 메소드

Overrides/configures BrickPile's conventions
public ConfigureConventions ( BrickPile.Core.Conventions.BrickPileConventions brickPileConventions ) : void
brickPileConventions BrickPile.Core.Conventions.BrickPileConventions The brick pile conventions.
리턴 void

ConfigureDocumentStore() 공개 메소드

Configures the document store.
public ConfigureDocumentStore ( IDocumentStore documentStore ) : void
documentStore IDocumentStore The document store.
리턴 void

CreateDefaultDocuments() 보호된 메소드

Setups the default documents.
protected CreateDefaultDocuments ( IDocumentStore documentStore ) : void
documentStore IDocumentStore The document store.
리턴 void

DefaultBrickPileBootstrapper() 공개 메소드

Initializes a new instance of the DefaultBrickPileBootstrapper class.
public DefaultBrickPileBootstrapper ( ) : System
리턴 System

GetApplicationContainer() 보호된 메소드

Gets the Container instance - automatically set during initialise.
protected GetApplicationContainer ( ) : IContainer
리턴 IContainer

Initialise() 공개 메소드

Initialises BrickPile.
public Initialise ( ) : void
리턴 void

RegisterRoutes() 보호된 메소드

Registers the custom route.
protected RegisterRoutes ( RouteCollection routes ) : void
routes RouteCollection The routes.
리턴 void