Commit Graph

11 Commits

Author SHA1 Message Date
Antony Male 0f67371ac8 Make sure the sample bootstrappers handle MessageBoxView 2020-11-28 13:13:02 +00:00
Antony Male aae13a8193 Fix disposal in NoIoCContainerBootstrapper
Fixes #42
2018-09-30 18:57:32 +01:00
Antony Male 3286bf087e Fix up the Bootstrappers project 2016-07-09 12:21:02 +01:00
Antony Male e0c7edd27a Rework slightly how the root VM is launched, to avoid it being created only to be disposed 2016-01-27 12:30:26 +00:00
Antony Male 81f256d231 Move away from separate ViewManagerConfig class 2015-09-25 15:19:23 +01:00
Antony Male 1731f2388a Change how ViewManager is configured
Instead of taking a reference to the Bootstrapper, it takes a configuration
object which is populated by the Bootrapper. This will pave the way for
easier views-in-multiple-assemblies handling in the near future...

This also involved some work to remove registering Stylet's assembly with
the IoC container and the ViewManager. It wasn't really necessary
anyway and just slowed things down.
2015-09-24 17:48:40 +01:00
Antony Male 9f3a7d665a Ensure View.ViewManager is set before Configure called 2015-04-05 17:46:17 +01:00
Antony Male 8479672028 Remove dependency on Application.Current from WindowManager
This means that the WindowManager is entirely self-sufficient, and does
not rely on anything static
2015-03-30 15:02:07 +01:00
Antony Male 07160aa4fe Make BootstrapperBase non-generic
Instead, it has an abstract RootViewModel property, which bootstrapper
overrides to return an instance of TRootViewModel from the container.

This means that the root ViewModel is treated a singleton by the bootstrapper,
regardless of whether it's singleton in the container
2015-01-15 10:06:00 +00:00
Antony Male 260bfee4c3 Remove and sort usings in samples and bootstrappers 2015-01-05 13:14:33 +00:00
Antony Male 9f9e282fdd Add bootstrapper which does not require an IoC container 2015-01-04 13:23:29 +00:00