Hi,
sorry for the confusion.
Since CM 1.4 the functionality of the bootstrapper is in
The inheritance hierarchy looks like this:
Now the Bootstrapper class looks like this:
What does this mean for non-Xaml host applications:
sorry for the confusion.
Since CM 1.4 the functionality of the bootstrapper is in
BootstrapperBase
class. The reason was that some users wanted to control when the framework is started. But the documentation wasn't updated to reflect this change.The inheritance hierarchy looks like this:
BootstrapperBase
|
|-- Boostrapper (obsolete)
|
|-- Boostrapper<TRootModel>
|
|-- PhoneBootstrapperBase
|
|-- PhoneBoostrapper
BootstrapperBase and PhoneBootstrapperBase do not call the Start()
method in the constructor. So it is up to you to start the framework whenever you want (e.g. to configure the logger before).Now the Bootstrapper class looks like this:
[Obsolete] publicclass Bootstrapper : BootstrapperBase { public Bootstrapper(bool useApplication = true) : base(useApplication) { Start(); } }
- inherit your bootstrapper from BootstrapperBase
- call Start() (e.g. in the constructor or maybe at some other place, it is a public method)