Exemplo n.º 1
0
        public SidebarViewModel(
            IAppSettings appSettings,
            SidebarManager sidebarManager,
            SidebarProfilesViewModel sidebarProfilesViewModel,
            TrialViewModel trialViewModel,
            ConnectionStatusViewModel connectionStatusViewModel,
            CountriesViewModel countriesViewModel) : base(appSettings, sidebarManager)
        {
            _appSettings        = appSettings;
            CountriesTabCommand = new RelayCommand(OpenCountriesTabAction);
            ProfilesTabCommand  = new RelayCommand(OpenProfilesTabAction);

            Tab              = countriesViewModel;
            TrialViewModel   = trialViewModel;
            Countries        = countriesViewModel;
            Profiles         = sidebarProfilesViewModel;
            ConnectionStatus = connectionStatusViewModel;
        }
Exemplo n.º 2
0
        public SidebarViewModel(
            IAppSettings appSettings,
            SidebarProfilesViewModel sidebarProfilesViewModel,
            TrialViewModel trialViewModel,
            ConnectionStatusViewModel connectionStatusViewModel,
            CountriesViewModel countriesViewModel,
            FlashNotificationViewModel flashNotificationsViewModel)
        {
            _appSettings        = appSettings;
            CountriesTabCommand = new RelayCommand(OpenCountriesTabAction);
            ProfilesTabCommand  = new RelayCommand(OpenProfilesTabAction);

            Tab               = countriesViewModel;
            TrialViewModel    = trialViewModel;
            Countries         = countriesViewModel;
            Profiles          = sidebarProfilesViewModel;
            ConnectionStatus  = connectionStatusViewModel;
            FlashNotification = flashNotificationsViewModel;
        }