Commit Graph

19 Commits

Author SHA1 Message Date
Antony Male aae13a8193 Fix disposal in NoIoCContainerBootstrapper
Fixes #42
2018-09-30 18:57:32 +01: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 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 7bc6a6b863 Update NuGet packages 2015-09-24 17:55:38 +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 386b7cb035 Bring more sanity to the Bootstrapper 2015-02-09 12:39:21 +00: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 5e40db124d Update bootstrappers to dispose their containers 2015-01-14 12:23:43 +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
Antony Male f47db1cbec Change some Bootstrapper methods to public, to avoid explicit interface implementation 2014-12-02 15:20:16 +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
Antony Male 9a29037dc6 Add bootstrappers for Castle Windsor, StructureMap, and Unity 2014-11-30 20:22:03 +00:00
Antony Male c849b1b027 Add Bootstrappers solution, with Ninject and Autofac bootstrappers and tests 2014-11-30 15:57:08 +00:00