public RaceReportController(IUserServices userService, IRaceService raceService, IRunnerServices runnerService, IRaceReportService raceReportService) { _userService = userService; _raceService = raceService; _runnerService = runnerService; _raceReportService = raceReportService; }
public AddRunnerPageViewModel(ISQLite sQLite, IRunnerServices RunnerServices, INavigationService navigationService) { SqlServices = sQLite; NavigationService = navigationService; this.RunnerServices = RunnerServices; Connection = SqlServices.GetConnection(); SaveRunnerCommand = new DelegateCommand(SaveRunnerMethod); }
public RunnerPageViewModel(ISQLite dbservices, IRunnerServices runnerServices, INavigationService navigationService) { NavigationService = navigationService; NavigateToAddRunnerPageCommand = new DelegateCommand(NavigateToAddRunnerPage); NavigateToStatsCommand = new DelegateCommand <Runner>(NavigateToStatsMethod); SqlServices = dbservices; RunnerServices = runnerServices; Connection = SqlServices.GetConnection(); IsBusy = true; }
//Contructor public PdfServices(ITimeServices timeServices, IRunnerServices runnerServices, IEventServices eventServices) { this.TimeServices = timeServices; this.RunnerServices = runnerServices; this.EventServices = eventServices; }
public AddRunnerToEventViewModel(INavigationService NavigationService, IEventServices eventServices, IRunnerServices runnerServices, ITimeServices timeServices) { this.NavigationService = NavigationService; this.EventServices = eventServices; this.RunnerServices = runnerServices; this.TimeServices = timeServices; SaveEventCommand = new DelegateCommand(SaveEventMethod); RemoveRunnerCommand = new DelegateCommand <Runner>(RemoveRunnerMethod); IsBusy = true; }
public RosterController(IRunnerServices runnerService) { _runnerService = runnerService; }
public AddTimesToEventPageViewModel(INavigationService NavigationService, ITimeServices TimeServices, IRunnerServices runnerServices) { this.NavigationService = NavigationService; this.TimeServices = TimeServices; this.RunnerServices = runnerServices; AddDistanceCommand = new DelegateCommand(AddDistanceMethod, CanExecuteAddDistance).ObservesProperty(() => ListofRaces.DistanceName); RunEventCommand = new DelegateCommand(RunEventMethod, CanExecuteRunEvent).ObservesProperty(() => ShowList.Count); RemoveDistanceCommand = new DelegateCommand <ListofRaces>(RemoveDistanceMethod); SaveEventCommand = new DelegateCommand(SaveEventMethod, CanExecuteSaveEvent).ObservesProperty(() => ShowList.Count); }