Exemplo n.º 1
0
 public RaceReportController(IUserServices userService, IRaceService raceService, IRunnerServices runnerService, IRaceReportService raceReportService)
 {
     _userService       = userService;
     _raceService       = raceService;
     _runnerService     = runnerService;
     _raceReportService = raceReportService;
 }
Exemplo n.º 2
0
 public AddRunnerPageViewModel(ISQLite sQLite, IRunnerServices RunnerServices, INavigationService navigationService)
 {
     SqlServices         = sQLite;
     NavigationService   = navigationService;
     this.RunnerServices = RunnerServices;
     Connection          = SqlServices.GetConnection();
     SaveRunnerCommand   = new DelegateCommand(SaveRunnerMethod);
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 //Contructor
 public PdfServices(ITimeServices timeServices, IRunnerServices runnerServices, IEventServices eventServices)
 {
     this.TimeServices   = timeServices;
     this.RunnerServices = runnerServices;
     this.EventServices  = eventServices;
 }
Exemplo n.º 5
0
        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;
        }
Exemplo n.º 6
0
 public RosterController(IRunnerServices runnerService)
 {
     _runnerService = runnerService;
 }
Exemplo n.º 7
0
 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);
 }