コード例 #1
0
 public Module(RegionManager regionManager, IUnityContainer container)
 {
     NullChecker.IsObjectInitialized(regionManager);
     NullChecker.IsObjectInitialized(container);
     _regionManager = regionManager;
     _container     = container;
 }
コード例 #2
0
 public DirectionsPageViewModel(IBotCommunication bot)
 {
     if (NullChecker.IsObjectInitialized(bot))
     {
         _bot = bot;
     }
     Task.Run(async() => conv = await bot.StartConversation());
 }
コード例 #3
0
        public MainPageViewModel(IAppFlow appFlow)
        {
            if (NullChecker.IsObjectInitialized(appFlow))
            {
                _appFlow = appFlow;
            }

            IsBusy = true;
            _appFlow.DetermineAppPathAsync();
            IsBusy = false;
        }