Commit Graph

9 Commits

Author SHA1 Message Date
Antony Male acf78533eb Convert Bootstrappers to PackageReference 2021-02-13 23:15:46 +00:00
Antony Male 53393a35eb Add bootstrapper for Microsoft.Extensions.DependencyInjection 2021-02-13 23:13:02 +00:00
Antony Male 0f67371ac8 Make sure the sample bootstrappers handle MessageBoxView 2020-11-28 13:13:02 +00:00
Antony Male 9e9514a795 Ensure that other IoC containers don't dispose things multiple times
Fixes #16
2016-11-25 17:05:06 +00: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 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 9f9e282fdd Add bootstrapper which does not require an IoC container 2015-01-04 13:23:29 +00:00
Antony Male 743961ec68 ViewManager now accepts an IViewManagerConfig, which makes the IoC container setup neater 2014-12-02 12:52:58 +00:00
Antony Male d857d7d6fd Move Bootstrappers into its proper place 2014-12-01 12:37:23 +00:00