summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Startup
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-12-30 22:21:44 +0000
committersr55 <[email protected]>2011-12-30 22:21:44 +0000
commitaad50499b32c44d28a6bae7f353b579e24564e25 (patch)
tree7e5f309e184d9d65785de1a00d4b94735a65b7cf /win/CS/HandBrakeWPF/Startup
parentcd3e951792f05944fb9ba4f1bc17e581318bfe8f (diff)
WinGui: (WPF) Bug fixes, Initial work on the Filters View
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4394 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Startup')
-rw-r--r--win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
index 2fe913baa..e43358e79 100644
--- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
+++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
@@ -7,9 +7,6 @@
// </summary>
// --------------------------------------------------------------------------------------------------------------------
-using HandBrakeWPF.Services;
-using HandBrakeWPF.Services.Interfaces;
-
namespace HandBrakeWPF.Startup
{
using System;
@@ -28,6 +25,9 @@ namespace HandBrakeWPF.Startup
using ViewModels;
using ViewModels.Interfaces;
+ using HandBrakeWPF.Services;
+ using HandBrakeWPF.Services.Interfaces;
+
/// <summary>
/// The Castle Bootstrapper
/// </summary>
@@ -62,6 +62,7 @@ namespace HandBrakeWPF.Startup
this.windsorContainer.Register(Component.For<IAboutViewModel>().ImplementedBy<AboutViewModel>().LifeStyle.Is(LifestyleType.Singleton));
this.windsorContainer.Register(Component.For<IOptionsViewModel>().ImplementedBy<OptionsViewModel>().LifeStyle.Is(LifestyleType.Singleton));
this.windsorContainer.Register(Component.For<IUpdateVersionService>().ImplementedBy<UpdateVersionService>().LifeStyle.Is(LifestyleType.Singleton));
+ this.windsorContainer.Register(Component.For<IJobContextService>().ImplementedBy<JobContextService>().LifeStyle.Is(LifestyleType.Singleton));
// Tab Components
this.windsorContainer.Register(Component.For<IAudioViewModel>().ImplementedBy<AudioViewModel>().LifeStyle.Is(LifestyleType.Singleton));