aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-12 01:32:37 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-12 01:32:37 +0200
commit217fcb79fa32f858a06d8200697ddee7c5da625a (patch)
treeb90d02265ac3be2a4f74eb6777bfb52ebc36391e /Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs
parent942aae29de03a5a3e0d139974b3754392ee9c1ff (diff)
downloadTango-217fcb79fa32f858a06d8200697ddee7c5da625a.tar.gz
Tango-217fcb79fa32f858a06d8200697ddee7c5da625a.zip
Added IsAfterReset to ConnectionResponse PMR.
Started working on PPC.Browser Module !!!
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs
new file mode 100644
index 000000000..30f936433
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModelLocator.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Core.DI;
+using Tango.PPC.Browser.ViewModels;
+
+namespace Tango.PPC.Browser
+{
+ public static class ViewModelLocator
+ {
+ /// <summary>
+ /// Initializes a new instance of the ViewModelLocator class.
+ /// </summary>
+ static ViewModelLocator()
+ {
+ TangoIOC.Default.Register<MainViewVM>();
+ }
+
+ /// <summary>
+ /// Gets the main view VM.
+ /// </summary>
+ public static MainViewVM MainViewVM
+ {
+ get
+ {
+ return TangoIOC.Default.GetInstance<MainViewVM>();
+ }
+ }
+ }
+}