コード例 #1
0
        public MainViewModel(IUrlService urlService, INavigationService navigationService, ILocalStorageService localStorageService, StackOverflowService stackOverflowService)
        {
            _UrlService           = urlService;
            _NavigationService    = navigationService;
            _LocalStorageService  = localStorageService;
            _StackOverflowService = stackOverflowService;

            Tags      = new ObservableCollection <string>();
            Questions = new ObservableCollection <Question>();
        }
コード例 #2
0
		public MainViewModel(IUrlService urlService, INavigationService navigationService, ILocalStorageService localStorageService, StackOverflowService stackOverflowService)
		{
			_UrlService = urlService;
			_NavigationService = navigationService;
			_LocalStorageService = localStorageService;
			_StackOverflowService = stackOverflowService;

			Tags = new ObservableCollection<string>();
			Questions = new ObservableCollection<Question>();
		}