aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs
diff options
context:
space:
mode:
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