aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-06-14 11:57:22 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-06-14 11:57:22 +0300
commit03959e785f635697fcdf0f99aad9454fafbf4e2e (patch)
treedbaf0350a9fbf7502057f01a9b34fd2ff15df9fd /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs
parentcc08947f9bc9f1f98ab8835200fb7cda0494cff2 (diff)
downloadTango-03959e785f635697fcdf0f99aad9454fafbf4e2e.tar.gz
Tango-03959e785f635697fcdf0f99aad9454fafbf4e2e.zip
Improved UdpDiscoveryClient (I Think...).
Improved PPC NavigationManager by providing a way to navigate by module/view paths..
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs
index 20752ac71..588cc8b64 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs
@@ -6,18 +6,24 @@ using System.Text;
using System.Threading.Tasks;
using Tango.BL;
using Tango.Core;
+using Tango.Core.DI;
using Tango.Core.Helpers;
using Tango.PPC.Common;
using Tango.PPC.Common.Application;
using Tango.PPC.Common.Authentication;
+using Tango.PPC.Common.Modules;
using Tango.PPC.Common.Navigation;
using Tango.PPC.Common.Notifications;
+using Tango.PPC.Jobs;
using Tango.SharedUI;
namespace Tango.PPC.UI.ViewModels
{
public class LoadingViewVM : PPCViewModel
{
+ [TangoInject]
+ public IPPCModuleLoader ModuleLoader { get; set; }
+
public async override void OnApplicationStarted()
{
await Task.Factory.StartNew(() =>
@@ -27,7 +33,7 @@ namespace Tango.PPC.UI.ViewModels
ApplicationManager.ModulesInitialized += (_, __) =>
{
- NavigationManager.NavigateTo(NavigationView.LayoutView);
+ NavigationManager.NavigateTo(NavigationView.HomeModule);
};
await AuthenticationProvider.Login("roy@twine-s.com", "1234");