Exemplo n.º 1
0
        public SingleTournamentViewModel(IChGKWebService service)
        {
            Title = StringResources.Tournament;

            _service = service;

            DataLoader = new DataLoader();
        }
Exemplo n.º 2
0
        public SingleTournamentViewModel(IChGKWebService service)
		{
            Title = StringResources.Tournament;

			_service = service;

			DataLoader = new DataLoader ();
		}
Exemplo n.º 3
0
        public RandomQuestionsViewModel(IChGKWebService service, IGAService gaService)
		{
			Title = StringResources.RandomQuestions;

            _service = service;
            _gaService = gaService;

			DataLoader = new DataLoader ();
		}
        public SearchQuestionsResultsViewModel(IChGKWebService service)
        {
            Title = StringResources.SearchResults;

            _service = service;

            DataLoader = new DataLoader();
            _loadMoreHelper = new LoadMoreHelper<ISearchQuestionsResult>() { OnLastItemShown = SearchQuestionsResultsViewModel_Showing };
        }
Exemplo n.º 5
0
        public RandomQuestionsViewModel(IChGKWebService service, IGAService gaService)
        {
            Title = StringResources.RandomQuestions;

            _service   = service;
            _gaService = gaService;

            DataLoader = new DataLoader();
        }
		public LastAddedTournamentsViewModel (IChGKWebService service, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
		{
            Title = StringResources.LastAdded;

			_service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

			DataLoader = new DataLoader ();
            _loadMoreHelper = new LoadMoreHelper<ITournament>() { OnLastItemShown = OnLastItemShown };
		}
Exemplo n.º 7
0
        public SearchQuestionsResultsViewModel(IChGKWebService service)
        {
            Title = StringResources.SearchResults;

            _service = service;

            DataLoader      = new DataLoader();
            _loadMoreHelper = new LoadMoreHelper <ISearchQuestionsResult>()
            {
                OnLastItemShown = SearchQuestionsResultsViewModel_Showing
            };
        }
Exemplo n.º 8
0
        public LastAddedTournamentsViewModel(IChGKWebService service, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService)
        {
            Title = StringResources.LastAdded;

            _service = service;
            _firstViewStartInfoProvider = firstViewStartInfoProvider;
            _gaService = gaService;

            DataLoader      = new DataLoader();
            _loadMoreHelper = new LoadMoreHelper <ITournament>()
            {
                OnLastItemShown = OnLastItemShown
            };
        }
Exemplo n.º 9
0
        public TourViewModel(IChGKWebService service)
        {
            _service = service;

            DataLoader = new DataLoader();
        }
Exemplo n.º 10
0
		public TourViewModel (IChGKWebService service)
		{
			_service = service;

			DataLoader = new DataLoader ();
		}