Esempio n. 1
0
 public SettingsTabViewModel(IVpnConnectionManager vpnConnectionManager, SettingsContainerViewModel settingsContainerViewModel, MyAccountViewModel myAccountViewModel, LogViewModel logViewModel, IMessageBoxService messageBoxService, EventFacade eventFacade, ILoginHandler loginHandler, IBrowser browser)
 {
     this._vpnConnectionManager = vpnConnectionManager;
     this._loginHandler         = loginHandler;
     this._messageBoxService    = messageBoxService;
     this._eventFacade          = eventFacade;
     this._browser = browser;
     this.< Logout > k__BackingField     = new RelayCommand(new Action(this.LogoutCommand));
     this.< HelpCenter > k__BackingField = new RelayCommand(new Action(this.HelpCenterCommand));
     base.get_Items().AddRange(new Screen[]
     {
         settingsContainerViewModel,
         myAccountViewModel,
         logViewModel
     });
 }
 public SettingsTabViewModel(VpnConnector vpnConnector, SettingsContainerViewModel settingsContainerViewModel, MyAccountViewModel myAccountViewModel, IMessageBoxService messageBoxService, EventFacade eventFacade, ILoginHandler loginHandler, IBrowser browser)
 {
     this._vpnConnector      = vpnConnector;
     this._loginHandler      = loginHandler;
     this._messageBoxService = messageBoxService;
     this._eventFacade       = eventFacade;
     this._browser           = browser;
     base.get_Items().AddRange(new Screen[]
     {
         settingsContainerViewModel,
         myAccountViewModel
     });
 }