C# 클래스 PrismContrib.WindsorExtensions.WindsorBootstrapper

상속: Prism.Bootstrapper
파일 보기 프로젝트 열기: bszafko/PrismContrib.WindsorExtensions

Private Properties

프로퍼티 타입 설명
CreateContainer IWindsorContainer

공개 메소드들

메소드 설명
Run ( bool runWithDefaultConfiguration ) : void

Run the bootstrapper process.

보호된 메소드들

메소드 설명
ConfigureContainer ( ) : void

Configures the IWindsorContainer. May be overwritten in a derived class to add specific type mappings required by the application.

ConfigureServiceLocator ( ) : void

Configures the LocatorProvider for the ServiceLocator.

InitializeModules ( ) : void

Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog

RegisterFrameworkExceptionTypes ( ) : void

Registers in the IWindsorContainer the Type of the Exceptions that are not considered root exceptions by the ExceptionExtensions.

RegisterTypeIfMissing ( Type fromType, Type toType, bool registerAsSingleton ) : void

Registers a type in the container only if that type was not already registered.

비공개 메소드들

메소드 설명
CreateContainer ( ) : IWindsorContainer

메소드 상세

ConfigureContainer() 보호된 메소드

Configures the IWindsorContainer. May be overwritten in a derived class to add specific type mappings required by the application.
protected ConfigureContainer ( ) : void
리턴 void

ConfigureServiceLocator() 보호된 메소드

Configures the LocatorProvider for the ServiceLocator.
protected ConfigureServiceLocator ( ) : void
리턴 void

InitializeModules() 보호된 메소드

Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
protected InitializeModules ( ) : void
리턴 void

RegisterFrameworkExceptionTypes() 보호된 메소드

Registers in the IWindsorContainer the Type of the Exceptions that are not considered root exceptions by the ExceptionExtensions.
protected RegisterFrameworkExceptionTypes ( ) : void
리턴 void

RegisterTypeIfMissing() 보호된 메소드

Registers a type in the container only if that type was not already registered.
protected RegisterTypeIfMissing ( Type fromType, Type toType, bool registerAsSingleton ) : void
fromType System.Type The interface type to register.
toType System.Type The type implementing the interface.
registerAsSingleton bool Registers the type as a singleton.
리턴 void

Run() 공개 메소드

Run the bootstrapper process.
public Run ( bool runWithDefaultConfiguration ) : void
runWithDefaultConfiguration bool If , registers default Composite Application Library services in the container. This is the default behavior.
리턴 void