public PinViewModel( string countryCode, CountryConnector countryConnector, PinFactory pinFactory) : base(countryCode) { _countryConnector = countryConnector; _pinFactory = pinFactory; }
public PinFactory( MapLineManager mapLineManager, IUserStorage userStorage, ServerManager serverManager, ServerConnector serverConnector, CountryConnector countryConnector) { _serverManager = serverManager; _serverConnector = serverConnector; _countryConnector = countryConnector; _mapLineManager = mapLineManager; _userStorage = userStorage; }
public CountriesViewModel( IAppSettings appSettings, ServerListFactory serverListFactory, App app, IDialogs dialogs, ServerConnector serverConnector, CountryConnector countryConnector) { _appSettings = appSettings; _serverListFactory = serverListFactory; _app = app; _dialogs = dialogs; _serverConnector = serverConnector; _countryConnector = countryConnector; Connect = new RelayCommand <ServerItemViewModel>(ConnectAction); ConnectCountry = new RelayCommand <IServerCollection>(ConnectCountryAction); Expand = new RelayCommand <IServerCollection>(ExpandAction); ToggleSecureCoreCommand = new RelayCommand(ToggleSecureCoreAction); ClearSearchCommand = new RelayCommand(ClearSearchAction); }
public CountriesViewModel( IAppSettings appSettings, ServerListFactory serverListFactory, App app, ServerConnector serverConnector, CountryConnector countryConnector, QuickSettingsViewModel quickSettingsViewModel, IVpnReconnector vpnReconnector) { _appSettings = appSettings; _serverListFactory = serverListFactory; _app = app; _serverConnector = serverConnector; _countryConnector = countryConnector; QuickSettingsViewModel = quickSettingsViewModel; _vpnReconnector = vpnReconnector; Connect = new RelayCommand <ServerItemViewModel>(ConnectAction); ConnectCountry = new RelayCommand <IServerCollection>(ConnectCountryAction); Expand = new RelayCommand <IServerCollection>(ExpandAction); ClearSearchCommand = new RelayCommand(ClearSearchAction); }