public MainPageViewModel(ICurrencyConverterService currencyConverter, ICurrencyListService currencyList, IAnalyticsService analyticsService, INavigationCache navigationCache, IModelFactory modelFactory) : base(analyticsService, navigationCache) { _currencyConverter = currencyConverter; _currencyList = currencyList; _modelFactory = modelFactory; SetSelectedCurrenciesIfPossible(); }
public NavigationBuilder(INavigationProvider <TNavigationItem> provider, NavigationOptions <TNavigationItem> options, INavigationCache cache) { if (provider == null) { throw new ArgumentNullException(nameof(provider)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } if (cache == null) { throw new ArgumentNullException(nameof(cache)); } _provider = provider; _options = options; _cache = cache; }