public SingleTournamentViewModel(IChGKWebService service) { Title = StringResources.Tournament; _service = service; DataLoader = new DataLoader (); }
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 }; }
public TeamsViewModel(ITeamsService service, IMvxMessenger messenger, IFirstViewStartInfoProvider firstViewStartInfoProvider, IGAService gaService) { _service = service; _firstViewStartInfoProvider = firstViewStartInfoProvider; _gaService = gaService; Title = StringResources.Teams; DataLoader = new DataLoader(); }
public EnterResultsViewModel(ITeamsService service, IMvxMessenger messenger, IGAService gaService) { _teamsService = service; _messenger = messenger; _gaService = gaService; _teamsChangedToken = messenger.Subscribe<TeamsChangedMessage> (OnTeamsChanged); _resultsChangedToken = messenger.Subscribe<ResultsChangedMessage> (OnResultsChanged); 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 }; }
public TourViewModel (IChGKWebService service) { _service = service; DataLoader = new DataLoader (); }