diff options
author | sr55 <[email protected]> | 2012-06-30 14:07:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-06-30 14:07:50 +0000 |
commit | ca023df6b2119d7bf29ade5c07f644fdf2de8731 (patch) | |
tree | 6ac3b68670cc9db3876c18239d56f0461ae7953b /win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | |
parent | 4d6d9e007cbfadd9f63860038a8048a2c8da390a (diff) |
WinGui: Refactor the Update service and add a new options tab to deal with updates.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4799 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs index 2b694252b..e929047ea 100644 --- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs @@ -51,6 +51,9 @@ namespace HandBrakeWPF.Startup this.windsorContainer.Register(Component.For<IWindsorInstaller>().ImplementedBy<ServicesWindsorInstaller>());
this.windsorContainer.Install(windsorContainer.ResolveAll<IWindsorInstaller>());
+ // Services
+ this.windsorContainer.Register(Component.For<IUpdateService>().ImplementedBy<UpdateService>().LifeStyle.Is(LifestyleType.Singleton));
+
// Shell
this.windsorContainer.Register(Component.For<IErrorService>().ImplementedBy<ErrorService>().LifeStyle.Is(LifestyleType.Singleton));
this.windsorContainer.Register(Component.For<IErrorViewModel>().ImplementedBy<ErrorViewModel>().LifeStyle.Is(LifestyleType.Singleton));
|