From 20fd52b888f111ac2d7670fa3c41e495661cdebd Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 27 Dec 2011 18:41:31 +0000 Subject: WinGui: (WPF) Initial work to implement the "Queue" and "Add Preset" Windows. Additional setup work around the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4389 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs') diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs index 695e0c7c1..13e5a896e 100644 --- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs @@ -7,6 +7,9 @@ // // -------------------------------------------------------------------------------------------------------------------- +using HandBrakeWPF.Services; +using HandBrakeWPF.Services.Interfaces; + namespace HandBrakeWPF.Startup { using System; @@ -22,8 +25,8 @@ namespace HandBrakeWPF.Startup using HandBrake.ApplicationServices; - using HandBrakeWPF.ViewModels; - using HandBrakeWPF.ViewModels.Interfaces; + using ViewModels; + using ViewModels.Interfaces; /// /// The Castle Bootstrapper @@ -49,7 +52,15 @@ namespace HandBrakeWPF.Startup this.windsorContainer.Install(windsorContainer.ResolveAll()); // Shell + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); } /// -- cgit v1.2.3