Ejemplo n.º 1
0
 public InitializeMetaData(IMoveService moveService, IDashboardService dashboardService, IMaintainService maintainService, IFillService fillService)
 {
     _moveService      = moveService;
     _maintainService  = maintainService;
     _dashboardService = dashboardService;
     _fillService      = fillService;
 }
 public TimedHostedService(ILogger <TimedHostedService> logger, IFillService fillService, IConfiguration configuration)
 {
     _logger              = logger;
     _fillService         = fillService;
     _hour                = int.Parse(configuration["TimedHostedService:StartHour"]);
     _minutes             = int.Parse(configuration["TimedHostedService:StartMinutes"]);
     _retryDelayInMinutes = int.Parse(configuration["TimedHostedService:RetryDelayInMinutes"]);
     _maxRetryCount       = int.Parse(configuration["TimedHostedService:MaxRetryCount"]);
 }
Ejemplo n.º 3
0
        public BatchViewModel(IFillService fillService, INavigationService navigationService, IPageDialogService dialogService) : base(navigationService)
        {
            //_navigationService = navigationService ?? throw new ArgumentNullException("navigationService");
            _dialogService    = dialogService;
            _fillService      = fillService;
            ItemTappedCommand = new DelegateCommand <NewBatch>((model) => ItemTappedCommandRecieverAsync(model));
            AddBatchCommand   = new DelegateCommand(AddBatchCommandRecieverAsync);

            LoadBatchAsync();
        }