From e66cd269ad02302f2a5a4ec377112cd61789647e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 16 Apr 2018 17:45:25 +0300 Subject: Application Logs & Embedded Logs on Logging Module! --- .../Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModelLocator.cs') 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(); SimpleIoc.Default.Register(); + SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); SimpleIoc.Default.Unregister(); @@ -42,6 +43,14 @@ namespace Tango.MachineStudio.Logging } } + public static EmbeddedLogsViewVM EmbeddedLogsViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } + public static HomeViewVM HomeViewVM { get -- cgit v1.3.1