C# 클래스 ModularityWithNinject.Desktop.QuickStartBootstrapper

Initializes Prism to start this quickstart Prism application to use Ninject.
상속: Prism.Ninject.NinjectBootstrapper
파일 보기 프로젝트 열기: PrismLibrary/Prism-Samples-Wpf 1 사용 예제들

보호된 메소드들

메소드 설명
ConfigureKernel ( ) : void

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

ConfigureModuleCatalog ( ) : void
CreateLogger ( ) : ILoggerFacade

Create the ILoggerFacade used by the bootstrapper.

The base implementation returns a new TextLogger.

CreateModuleCatalog ( ) : IModuleCatalog

Returns the module catalog that will be used to initialize the modules.

When using the default initialization behavior, this method must be overwritten by a derived class.

CreateShell ( ) : DependencyObject

Creates the shell or main window of the application.

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

InitializeShell ( ) : void

Initializes the shell.

The base implemention ensures the shell is composed in the container.

메소드 상세

ConfigureKernel() 보호된 메소드

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

ConfigureModuleCatalog() 보호된 메소드

protected ConfigureModuleCatalog ( ) : void
리턴 void

CreateLogger() 보호된 메소드

Create the ILoggerFacade used by the bootstrapper.
The base implementation returns a new TextLogger.
protected CreateLogger ( ) : ILoggerFacade
리턴 ILoggerFacade

CreateModuleCatalog() 보호된 메소드

Returns the module catalog that will be used to initialize the modules.
When using the default initialization behavior, this method must be overwritten by a derived class.
protected CreateModuleCatalog ( ) : IModuleCatalog
리턴 IModuleCatalog

CreateShell() 보호된 메소드

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

InitializeShell() 보호된 메소드

Initializes the shell.
The base implemention ensures the shell is composed in the container.
protected InitializeShell ( ) : void
리턴 void