C# 클래스 Microsoft.Practices.Prism.Bootstrapper

Base class that provides a basic bootstrapping sequence and hooks that specific implementations can override
This class must be overriden to provide application specific configuration.
파일 보기 프로젝트 열기: xperiandri/PortablePrism 1 사용 예제들

공개 메소드들

메소드 설명
Run ( ) : void

Runs the bootstrapper process.

Run ( bool runWithDefaultConfiguration ) : void

Run the bootstrapper process.

보호된 메소드들

메소드 설명
ConfigureModuleCatalog ( ) : void

Configures the IModuleCatalog used by Prism.

ConfigureServiceLocator ( ) : void

Configures the LocatorProvider for the Microsoft.Practices.ServiceLocation.ServiceLocator.

CreateModuleCatalog ( ) : IModuleCatalog

Creates the IModuleCatalog used by Prism.

The base implementation returns a new ModuleCatalog.

CreateShell ( ) : DependencyObject

Creates the shell or main window of the application.

If the returned instance is a DependencyObject, the Bootstrapper will attach the default IRegionManager of the application in its RegionManager.RegionManagerProperty attached property in order to be able to add regions by using the RegionManager.RegionNameProperty attached property from XAML.

InitializeModules ( ) : void

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

InitializeShell ( ) : void

Initializes the shell.

RegisterFrameworkExceptionTypes ( ) : void

Registers the Types of the Exceptions that are not considered root exceptions by the ExceptionExtensions.

비공개 메소드들

메소드 설명
CreateLogger ( ) : ILoggerFacade

메소드 상세

ConfigureModuleCatalog() 보호된 메소드

Configures the IModuleCatalog used by Prism.
protected ConfigureModuleCatalog ( ) : void
리턴 void

ConfigureServiceLocator() 보호된 추상적인 메소드

Configures the LocatorProvider for the Microsoft.Practices.ServiceLocation.ServiceLocator.
protected abstract ConfigureServiceLocator ( ) : void
리턴 void

CreateModuleCatalog() 보호된 메소드

Creates the IModuleCatalog used by Prism.
The base implementation returns a new ModuleCatalog.
protected CreateModuleCatalog ( ) : IModuleCatalog
리턴 IModuleCatalog

CreateShell() 보호된 추상적인 메소드

Creates the shell or main window of the application.
If the returned instance is a DependencyObject, the Bootstrapper will attach the default IRegionManager of the application in its RegionManager.RegionManagerProperty attached property in order to be able to add regions by using the RegionManager.RegionNameProperty attached property from XAML.
protected abstract CreateShell ( ) : DependencyObject
리턴 System.Windows.DependencyObject

InitializeModules() 보호된 메소드

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

InitializeShell() 보호된 메소드

Initializes the shell.
protected InitializeShell ( ) : void
리턴 void

RegisterFrameworkExceptionTypes() 보호된 메소드

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

Run() 공개 메소드

Runs the bootstrapper process.
public Run ( ) : void
리턴 void

Run() 공개 추상적인 메소드

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