Example #1
0
 public ReportController(IStockService stockService, IPredictionService predictionService,
                         IInvestagramsApiCachedService investagramsApi)
 {
     _stockService      = stockService;
     _predictionService = predictionService;
     _investagramsApi   = investagramsApi;
 }
 public PredictionEditViewModel(IDialogService dialogService, IPredictionService predictionService,
     IClearUserSecurityService clearUserSecurityService, IBus messageBus)
     : base(clearUserSecurityService, dialogService)
 {
     PredictionService = predictionService;
     MessageBus = messageBus;
 }
 public PredictionEditViewModel(IDialogService dialogService, IPredictionService predictionService,
                                IClearUserSecurityService clearUserSecurityService, IBus messageBus)
     : base(clearUserSecurityService, dialogService)
 {
     PredictionService = predictionService;
     MessageBus        = messageBus;
 }
 public MatchController(IMatchService pridctService, IMapper mapper, IExceptionService exceptionService, IPredictionService predictionService)
 {
     _mapper            = mapper;
     _exceptionService  = exceptionService;
     _matchService      = pridctService;
     _predictionService = predictionService;
 }
Example #5
0
 public SetLotteryPredictionTotalModel(IHostingEnvironment hostingEnvironment,
                                       IPredictionService pService,
                                       ILogger <ContactModel> logger)
 {
     this._hostingEnvironment = hostingEnvironment;
     this._pService           = pService;
     this._logger             = logger;
 }
Example #6
0
 public PredictionController(IMapper mapper, ILog4Net logger, IPredictionService predictionService, IDropDownService dropDownService, IPredictionStatisticsService predictionStatisticsService)
 {
     _mapper                      = mapper;
     _logger                      = logger;
     _predictionService           = predictionService;
     _dropDownService             = dropDownService;
     _predictionStatisticsService = predictionStatisticsService;
 }
Example #7
0
 public DataService(string _covid19za_provincial_cumulative_timeline_confirmed, IPredictionService predictionService, IDatabaseEngine databaseEngine)
 {
     //https://github.com/dsfsi/covid19za
     URL_covid19za_provincial_cumulative_timeline_confirmed = _covid19za_provincial_cumulative_timeline_confirmed;
     CaseOverTime_ZA = new List <DataOverTimeObject>();
     Prediction      = predictionService;
     DatabaseEngine  = databaseEngine;
 }
 public ProfileController(IUserService userService,
                          IGameWeekService gameWeekService,
                          IPredictionService predictionService)
 {
     this._userService       = userService;
     this._gameWeekService   = gameWeekService;
     this._predictionService = predictionService;
 }
Example #9
0
 public EmployeeController(ECPDbContext context, IPredictionService predictionService, IOptions <PredictionOptions> predictionOptions)
 {
     _context           = context;
     _predictionService = predictionService;
     _predictionOptions = predictionOptions.Value;
     modelName          = _predictionOptions.ModelName;
     thresHold          = _predictionOptions.Threshold;
 }
 public MatchGroupController(IMapper mapper, IPredictionService predictionService, ILog4Net logger, IMatchGroupService MatchGroupService, IDropDownService dropDownService)
 {
     _mapper            = mapper;
     _logger            = logger;
     _MatchGroupService = MatchGroupService;
     _dropDownService   = dropDownService;
     _predictionService = predictionService;
 }
 public Match2ClubController(IMapper mapper, ILog4Net logger, IMatch2ClubService match2ClubService, IDropDownService dropDownService, IPredictionService predictionService)
 {
     _mapper            = mapper;
     _logger            = logger;
     _match2ClubService = match2ClubService;
     _dropDownService   = dropDownService;
     _predictionService = predictionService;
 }
Example #12
0
        public MainViewModel()
        {
            Title = "Toy Quest";

            TakePhotoCommand   = new Command(async() => await TakePhoto());
            PickPhotoCommand   = new Command(async() => await PickPhoto());
            _predictionService = new PredictionService();
        }
Example #13
0
 public hangfireJobModel(IHostingEnvironment hostingEnvironment,
                         IPredictionService pService,
                         ILogger <ContactModel> logger, ILotteryResultService lotteryResultService)
 {
     this._hostingEnvironment  = hostingEnvironment;
     this._pService            = pService;
     this._logger              = logger;
     this.lotteryResultService = lotteryResultService;
 }
Example #14
0
 public PredictController(
     IGameWeekService gameWeekService,
     IPredictionService predictionService,
     ILeagueService leagueService)
 {
     this.gameWeekService   = gameWeekService;
     this.predictionService = predictionService;
     this.leagueService     = leagueService;
 }
        public CachedPredictionService(IPredictionService predictionService, IVsBridge vsBridge, IStatusWrapper statusWrapper, IErrorHandler errorHandler)
        {
            this.predictionService = predictionService;
            this.vsBridge          = vsBridge;
            this.statusWrapper     = statusWrapper;
            this.errorHandler      = errorHandler;

            this.PredictionsLoading += this.OnPredictionsLoading;
            this.PredictionsLoaded  += this.OnPredictionsLoaded;
        }
        public PredictionsPageViewModel(IPredictionService predictionService, IDialogService dialogService,
                                        IClearUserSecurityService clearUserSecurityService, IBus messageBus, IReadUserSecurityService readUserSecurityService,
                                        IKillApplication killApp)
            : base(clearUserSecurityService, dialogService, killApp)
        {
            PredictionService       = predictionService;
            ReadUserSecurityService = readUserSecurityService;

            messageBus.ListenFor <RefreshPredictionsMessage>(RefreshPredictionGroups);
        }
Example #17
0
 public TimedHostedService(ILogger <TimedHostedService> logger,
                           ILotteryResultService lotteryResultService,
                           IPredictionService predictionService,
                           Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment)
 {
     _logger = logger;
     this.lotteryResultService = lotteryResultService;
     this.predictionService    = predictionService;
     this._hostingEnvironment  = hostingEnvironment;
 }
        public PredictionsPageViewModel(IPredictionService predictionService, IDialogService dialogService,
            IClearUserSecurityService clearUserSecurityService, IBus messageBus, IReadUserSecurityService readUserSecurityService,
            IKillApplication killApp)
            : base(clearUserSecurityService, dialogService, killApp)
        {
            PredictionService = predictionService;
            ReadUserSecurityService = readUserSecurityService;

            messageBus.ListenFor<RefreshPredictionsMessage>(RefreshPredictionGroups);
        }
Example #19
0
 public PredictionViewModelBase(IMvxLogProvider provider,
                                IMvxNavigationService navigationService,
                                IUserDialogs userDialogs,
                                IPredictionService predictionService)
     : base(provider, navigationService)
 {
     _predictionService = predictionService;
     _userDialogs       = userDialogs;
     Predictions        = new MvxObservableCollection <PredictedViewModel>();
 }
        public GameplayController(
            IPredictionService predictionService,
            IPlayerInputListener playerInputListener,
            GameplayModel gameplayModel,
            PlayersList players,
            IVfxController vfxController)
        {
            _predictionService   = predictionService;
            _playerInputListener = playerInputListener;
            _gameplayModel       = gameplayModel;
            _players             = players;
            _vfxController       = vfxController;

            _playerInputListener.OnInputUpdate += OnInputUpdateHandler;

            _players[0].OnSwingDone    += OnSwingDone;
            _players[0].OnReadyToSwing += OnReadyToSwing;

            _gameplayModel.Reset();
        }
 public HistoryPageViewModel(IPredictionService predictionService, IClearUserSecurityService clearUserSecurityService,
     IDialogService dialogService, IKillApplication killApp)
     : base(clearUserSecurityService, dialogService, killApp)
 {
     PredictionService = predictionService;
 }
 public WeatherPredictionController(ILogger <WeatherPredictionController> logger, IPredictionService predictionService)
 {
     _logger            = logger;
     _predictionService = predictionService;
 }
Example #23
0
 public CustomerFBRepository(SentimentWebContext context, IPredictionService predictionService)
 {
     _dbContext             = context;
     this.predictionService = predictionService;
 }
 public PredictionController(IPredictionService iPredictionService, IProgramService iProgramService)
 {
     _iPredictionService = iPredictionService;
     _iProgramService    = iProgramService;
 }
Example #25
0
 public PredictionTest()
 {
     _predictionService = ServiceLocator.Current.GetInstance <IPredictionService>();
 }
 public MakeScheduleService(IPredictionService iPredictionService)
 {
     _iPredictionService = iPredictionService;
 }
 public PredictionController(IPredictionService iPredictionService, IProgramService iProgramService)
 {
     _iPredictionService = iPredictionService;
     _iProgramService = iProgramService;
 }
 public PredictionController(IPredictionService predictionService, IRepository <MyPrediction> predictionRepository)
 {
     _predictionService    = predictionService;
     _predictionRepository = predictionRepository;
 }
Example #29
0
 public PredictionController(IPredictionService predictionService)
 {
     _predictionService = predictionService;
 }
Example #30
0
 public HistoryPageViewModel(IPredictionService predictionService, IClearUserSecurityService clearUserSecurityService,
                             IDialogService dialogService, IKillApplication killApp)
     : base(clearUserSecurityService, dialogService, killApp)
 {
     PredictionService = predictionService;
 }
Example #31
0
 public HistoryDetailViewModel(IPredictionService predictionService, IDialogService dialogService,
                               IClearUserSecurityService clearUserSecurityService)
     : base(clearUserSecurityService, dialogService)
 {
     PredictionService = predictionService;
 }
 public HistoryDetailViewModel(IPredictionService predictionService, IDialogService dialogService,
     IClearUserSecurityService clearUserSecurityService)
     : base(clearUserSecurityService, dialogService)
 {
     PredictionService = predictionService;
 }
 public PredictionsController(IPredictionService predictions)
 {
     this.predictions = predictions;
 }
Example #34
0
 public ProductController(ITrackerService trackerService, IXConnectFactory xconnectService, IPredictionService predictionService)
 {
     this.xconnectService   = xconnectService;
     this.predictionService = predictionService;
 }
Example #35
0
 public MakeScheduleService(IPredictionService iPredictionService)
 {
     _iPredictionService = iPredictionService;
 }
Example #36
0
        public Form1(IPredictionService predictionService)
        {
            _predictionService = predictionService;

            InitializeComponent();
        }