aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-04-16 09:27:48 +0300
committerAvi Levkovich <avi@twine-s.com>2018-04-16 09:27:48 +0300
commiteafb576fe1bf76898b9cc17671a89d1585e2c8e4 (patch)
treed833a983eb84c53b35b19a45af475aa3e88953c0 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs
parentcf441513c1010eb4363e985b3b7af61a8503456e (diff)
parent53f93d7fd2d2aa4571bad6e93e0c519fce242753 (diff)
downloadTango-eafb576fe1bf76898b9cc17671a89d1585e2c8e4.tar.gz
Tango-eafb576fe1bf76898b9cc17671a89d1585e2c8e4.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs
index bbb916d02..97eb2913b 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModelLocator.cs
@@ -82,6 +82,7 @@ namespace Tango.MachineStudio.UI
SimpleIoc.Default.Register<ShutdownViewVM>();
SimpleIoc.Default.Register<LoginViewVM>();
SimpleIoc.Default.Register<MachineConnectionViewVM>();
+ SimpleIoc.Default.Register<ConnectedMachineViewVM>();
SimpleIoc.Default.Register<MachineLoginViewVM>();
SimpleIoc.Default.Register<UpdateViewVM>();
@@ -133,6 +134,14 @@ namespace Tango.MachineStudio.UI
}
}
+ public ConnectedMachineViewVM ConnectedMachineViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<ConnectedMachineViewVM>();
+ }
+ }
+
public MachineLoginViewVM MachineLoginViewVM
{
get