aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-04-16 17:45:25 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-04-16 17:45:25 +0300
commite66cd269ad02302f2a5a4ec377112cd61789647e (patch)
tree3f229e2460a16e3b3383cb39e7458a19469553d2 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
parent53f93d7fd2d2aa4571bad6e93e0c519fce242753 (diff)
downloadTango-e66cd269ad02302f2a5a4ec377112cd61789647e.tar.gz
Tango-e66cd269ad02302f2a5a4ec377112cd61789647e.zip
Application Logs & Embedded Logs on Logging Module!
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
index 0b1af937f..b3c16c2b4 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
@@ -20,6 +20,7 @@ namespace Tango.MachineStudio.Logging
ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
SimpleIoc.Default.Register<EventsViewVM>();
SimpleIoc.Default.Register<ApplicationLogsViewVM>();
+ SimpleIoc.Default.Register<EmbeddedLogsViewVM>();
SimpleIoc.Default.Register<HomeViewVM>();
SimpleIoc.Default.Unregister<LoggingNavigationManager>();
@@ -42,6 +43,14 @@ namespace Tango.MachineStudio.Logging
}
}
+ public static EmbeddedLogsViewVM EmbeddedLogsViewVM
+ {
+ get
+ {
+ return ServiceLocator.Current.GetInstance<EmbeddedLogsViewVM>();
+ }
+ }
+
public static HomeViewVM HomeViewVM
{
get