Method | Description | |
---|---|---|
RegisterDefaultTypesIfMissing ( ) : void |
Helper method for configuring the CompositionHost. Registers defaults for all the types necessary for Prism to work, if they are not already registered.
|
|
Run ( bool runWithDefaultConfiguration ) : void |
Run the bootstrapper process.
|
Method | Description | |
---|---|---|
ConfigureContainer ( ) : void |
Configures the CompositionHost. May be overwritten in a derived class to add specific type mappings required by the application. The base implementation registers all the types direct instantiated by the bootstrapper with the container. If the method is overwritten, the new implementation should call the base class version. |
|
ConfigureServiceLocator ( ) : void |
Configures the LocatorProvider for the Microsoft.Practices.ServiceLocation.ServiceLocator. The base implementation also sets the ServiceLocator provider singleton. |
|
CreateContainerConfiguration ( ) : ContainerConfiguration |
Configures the ContainerConfiguration used by MEF. The base implementation returns a new ContainerConfiguration. |
|
InitializeModules ( ) : void |
Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
|
|
InitializeShell ( ) : void |
Initializes the shell. The base implementation ensures the shell is composed in the container. |
|
RegisterBootstrapperProvidedTypes ( ) : void |
Helper method for configuring the CompositionHost. Registers all the types direct instantiated by the bootstrapper with the container.
|
|
SetupContainerConfiguration ( ) : void |
Sets up the ContainerConfiguration used by MEF. The base implementation does nothing. |
Method | Description | |
---|---|---|
CreateContainer ( ) : System.Composition.Hosting.CompositionHost |
protected CreateContainerConfiguration ( ) : ContainerConfiguration | ||
return | ContainerConfiguration |
protected RegisterBootstrapperProvidedTypes ( ) : void | ||
return | void |
public RegisterDefaultTypesIfMissing ( ) : void | ||
return | void |
public Run ( bool runWithDefaultConfiguration ) : void | ||
runWithDefaultConfiguration | bool | If |
return | void |
protected SetupContainerConfiguration ( ) : void | ||
return | void |