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