aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-01 15:20:37 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-01 15:20:37 +0200
commita89c18abf7175f76f8673c12dac35d1658209d4e (patch)
tree490f56c31347836c8b1e89f76fc3723431cad48b /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
parent06ad24ef8a414fc89c0cf42b9f5264d584292afe (diff)
downloadTango-a89c18abf7175f76f8673c12dac35d1658209d4e.tar.gz
Tango-a89c18abf7175f76f8673c12dac35d1658209d4e.zip
Added Developer Module Settings & More...
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
index f11cee8d0..46c7ecf00 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModelLocator.cs
@@ -2,6 +2,7 @@ using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.Practices.ServiceLocation;
using Tango.MachineStudio.Developer.ViewModels;
+using Tango.MachineStudio.Developer.Views;
namespace Tango.MachineStudio.Developer
{
@@ -17,6 +18,8 @@ namespace Tango.MachineStudio.Developer
static ViewModelLocator()
{
ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
+
+ SimpleIoc.Default.Register<IMainView>(() => MainView.Self);
SimpleIoc.Default.Register<MainViewVM>();
}