summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs')
-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));