summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-09-17 20:49:08 +0000
committersr55 <[email protected]>2011-09-17 20:49:08 +0000
commitd145ee9d9ed7be65b83124afbf0cc71b60adddc6 (patch)
tree8a7a47aa0bbeab6b18d6859bc457a215c5cbe61d /win/CS/HandBrakeWPF/Services
parentac48779d6481154c16419d3c758af39ddcba4d86 (diff)
HandBrakeWPF: Switch from Caliburn to Caliburn Micro and Add a CastleWindsor Bootstrapper.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4230 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/MefBootstrapper.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/win/CS/HandBrakeWPF/Services/MefBootstrapper.cs b/win/CS/HandBrakeWPF/Services/MefBootstrapper.cs
deleted file mode 100644
index bd05356c0..000000000
--- a/win/CS/HandBrakeWPF/Services/MefBootstrapper.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace HandBrakeWPF.Services
-{
- using System.ComponentModel.Composition.Hosting;
- using System.Linq;
-
- using Caliburn.Core.InversionOfControl;
- using Caliburn.MEF;
- using Caliburn.PresentationFramework.ApplicationModel;
-
- using HandBrakeWPF.ViewModels.Interfaces;
-
- public class MefBootstrapper : Bootstrapper<IMainViewModel>
- {
- protected override IServiceLocator CreateContainer()
- {
- var container = new CompositionContainer(new AggregateCatalog(SelectAssemblies().Select(x => new AssemblyCatalog(x))));
-
- return new MEFAdapter(container);
- }
- }
-} \ No newline at end of file