public Module(RegionManager regionManager, IUnityContainer container) { NullChecker.IsObjectInitialized(regionManager); NullChecker.IsObjectInitialized(container); _regionManager = regionManager; _container = container; }
public DirectionsPageViewModel(IBotCommunication bot) { if (NullChecker.IsObjectInitialized(bot)) { _bot = bot; } Task.Run(async() => conv = await bot.StartConversation()); }
public MainPageViewModel(IAppFlow appFlow) { if (NullChecker.IsObjectInitialized(appFlow)) { _appFlow = appFlow; } IsBusy = true; _appFlow.DetermineAppPathAsync(); IsBusy = false; }