public WorkerProcessor( ILogger <WorkerProcessor> logger, IWorkService workService) { _logger = logger; _workService = workService; }
public SummaryPageModel(IStatementService statementService, IWorkService workService, IAccountService accountService) { _accountService = accountService; _statementService = statementService; _workService = workService; }
public MainWindow() { InitializeComponent(); workService = new WorkService("CoursesContext1"); works = workService.GetAll(); cBoxWork.DataContext = works; }
public AuthController(IUserService userService, INationalityService nationalityService, IEducationService educationService, IReligionService religionService, IWorkService workService, IGenderService genderService, IDegreeService degreeService, IConfirmedUsersService confirmedUserService, IUserManagerService userManagerService, IMapper mapper, ILoggerService <AuthController> loggerService, IAuthService AuthService, IStringLocalizer <AuthenticationErrors> resourceForErrors) { _AuthService = AuthService; _userService = userService; _nationalityService = nationalityService; _religionService = religionService; _degreeService = degreeService; _workService = workService; _educationService = educationService; _genderService = genderService; _confirmedUserService = confirmedUserService; _mapper = mapper; _userManagerService = userManagerService; _loggerService = loggerService; _resourceForErrors = resourceForErrors; }
public HomeController(IReportService reportService, UserManager <AppUser> userManager, IWorkService workService, INotificationService notificationService) : base(userManager) { _reportService = reportService; _workService = workService; _notificationService = notificationService; }
public AddContactInfoViewModel(IMvxFileStore fileStore, IWorkService workService) { _fileStore = fileStore; _workService = workService; GetLocationFromTextFile(); ContactInfo = new ContactInfo(); }
public ProjectsController(IBudgetService budgets, IWorkService works, UserManager <User> userManager, ICategoryService categories) { this.budgets = budgets; this.projects = works; this.categories = categories; this.userManager = userManager; }
static void Main(string[] args) { int batchId = 0; int processId = 0; IWorkService workService = ServiceFactory.CreateWorkService(processId); workService.Process(); }
public static IWorkService BuildWorkService() { if (work_Service == null) { work_Service = new WorkService(); } return(work_Service); }
public WorkOrderController(IAppUserService appUserService, IWorkService workService, UserManager <AppUser> userManager, IFileService fileService, INotificationService notificationService, IMapper mapper) : base(userManager) { _appUserService = appUserService; _workService = workService; _fileService = fileService; _notificationService = notificationService; _mapper = mapper; }
private void HandleCalculateCommand(object obj) { workService = serviceFactory.Resolve <IWorkService>(); workQueue = workService.CreateWorkQueue <MatrixMultiplicationWorkItem, MatrixMultiplicationWorkResult>(); workQueue.Initialize <MatrixMultiplicationCommand>(); CalculateDistributed(); }
public WorkOrderController(IWorkService workService, UserManager <AppUser> userManager, IActionService actionService, INotificationService notificationService, IMapper mapper) : base(userManager) { _workService = workService; _actionService = actionService; _notificationService = notificationService; _mapper = mapper; }
public DownloadRatesRequestHandler( IWorkService workService, IWorker worker, IUnitOfWork unitOfWork) { _workService = workService; _worker = worker; _unitOfWork = unitOfWork; }
public PriceGenerateRequestHandler( IWorkService workService, IWorker worker, IUnitOfWork unitOfWork) { _workService = workService; _worker = worker; _unitOfWork = unitOfWork; }
public JobViewModel(IWorkService workService) { _workService = workService; LoadJobs(); MessagingCenter.Subscribe <MyJobViewModel>(this, "Delete", (sender) => { LoadJobs(); }); }
public StandupController( IWorkService workService, IProjectService projectService, IObstacleService obstacleService ) { _workService = workService; _obstacleService = obstacleService; _projectService = projectService; }
public TimeClockPageModel(IAccountService accountService, IWorkService workService) { _accountService = accountService; _workService = workService; ClockInOutButtonModel = new ButtonModel("Clock In", OnClockInOutAction); _timer = new Timer(); _timer.Interval = 1000; _timer.Enabled = false; _timer.Elapsed += _timer_Elapsed; }
public static IWorkService CreateWorkService(int processID) { // IWorkService workService = new WorkLogService(); string typeName = GetProcessTypeName(processID); Type type = Type.GetType(typeName); IWorkService workService = Activator.CreateInstance(type) as IWorkService; return(workService); }
public ProjectsController( IProjectService projectService, IWorkService workService, IAutenticationContext context ) { _projectService = projectService; _workService = workService; _context = context; }
public static void TrackingWork() { // moniter work log, if have status id = 1, then Exec IWorkService Process int workId = GetWorkId(); int processId = GetProcessId(); IWorkService workService = ServiceFactory.CreateWorkService(processId); workService.Process(); }
public CalendarWorkingController(AppDbContext dbContext, ICalendarWorkingService calendarWorkingService, ITypeCalendarService typeCalendarService, ITeacherService teacherService, IWorkService workService) { _dbContext = dbContext; _calendarWorkingService = calendarWorkingService; _typeCalendarService = typeCalendarService; _teacherService = teacherService; _workService = workService; }
public FileUploadController( IWorkService workService, IEmployeeService _empService, ICodeItemService _codeService, IProductService productService, IUnitOfWorkAsync unitOfWork) { //_iBOMComponentService = iBOMComponentService; //_sKUService = sKUService; this.workService = workService; this._empService = _empService; this._unitOfWork = unitOfWork; this._productService = productService; this._codeService = _codeService; }
public WorkPresentation( UserManager <User> userManager, IWorkService workService, IMapper mapper, IGenericRepository <BusinessWorker> businessWorkerRepository, IGenericRepository <Shift> shiftRepository) { _userManager = userManager; _workService = workService; _mapper = mapper; _businessWorkerRepository = businessWorkerRepository; _shiftRepository = shiftRepository; }
public WorkController( IWorkService workService, IUnitofWork uow, IPersonService personService, IUtilityService utiltiyService, IMediaService mediaService, ILogService logService) : base(uow, logService) { _workService = workService; _personService = personService; _mediaService = mediaService; _utiltiyService = utiltiyService; }
public UserService(IRepositoryWrapper repoWrapper, UserManager <User> userManager, IMapper mapper, IWorkService workService, IEducationService educationService, IUserBlobStorageRepository userBlobStorage, IWebHostEnvironment env, IUserManagerService userManagerService, IConfirmedUsersService confirmedUsersService) { _repoWrapper = repoWrapper; _userManager = userManager; _mapper = mapper; _workService = workService; _educationService = educationService; _userBlobStorage = userBlobStorage; _env = env; _userManagerService = userManagerService; _confirmedUsersService = confirmedUsersService; }
public HomeController(AppDbContext dbContext, IScienseService scienseService, ITeacherService teacherService, ICalendarWorkingService calendarWorkingService, ITypeCalendarService typeCalendarService, IWorkService workService, IMenuService menuService, IActivityService activityService, ITeacherActitvityService teacherActitvityService, ITransactionService transactionService) { _dbContext = dbContext; _scienseService = scienseService; _teacherService = teacherService; _calendarWorkingService = calendarWorkingService; _typeCalendarService = typeCalendarService; _workService = workService; _menuService = menuService; _activityService = activityService; _teacherActitvityService = teacherActitvityService; _transactionService = transactionService; }
public FactorController(IAirConditionerModelService airConditionerModelService, IEngineVolumeService engineVolumeService, IUserExpertService userExpertService, IUserOperatorService userOperatorService, IUserTechnicianService userTechnicianService, IUserAssistantService userAssistantService, ICustomerService customerService, IPieceService pieceService, IWorkService workService, IFactorService factorService) { _airConditionerModelService = airConditionerModelService; _engineVolumeService = engineVolumeService; _userExpertService = userExpertService; _userOperatorService = userOperatorService; _userTechnicianService = userTechnicianService; _userAssistantService = userAssistantService; _customerService = customerService; _pieceService = pieceService; _pieceWorkService = workService; _factorService = factorService; }
public VendorsController( IVendorService vendorService, IReviewService reviewService, IPortfolioService portfolioService, IBookService bookService, IHistoryService historyService, IWorkService workService, IContactService contactService, IRatingService ratingService, INotificationProxy notificationProxy, IAnalyticsService analyticsService) { _vendorService = vendorService; _reviewService = reviewService; _portfolioService = portfolioService; _bookService = bookService; _historyService = historyService; _workService = workService; _contactService = contactService; _ratingService = ratingService; _notificationProxy = notificationProxy; _analyticsService = analyticsService; }
public UserController(IUserService userService, INationalityService nationalityService, IEducationService educationService, IReligionService religionService, IWorkService workService, IGenderService genderService, IDegreeService degreeService, IConfirmedUsersService confirmedUserService, IUserManagerService userManagerService, ILoggerService <UserController> loggerService, IMapper mapper) { _userService = userService; _nationalityService = nationalityService; _religionService = religionService; _degreeService = degreeService; _workService = workService; _educationService = educationService; _genderService = genderService; _confirmedUserService = confirmedUserService; _userManagerService = userManagerService; _loggerService = loggerService; _mapper = mapper; }
public WorkController(IWorkService productService, IUserService userService) { this.ProductService = productService; this.UserService = userService; }
public WorkController() { workService = ServiceBuilder.BuildWorkService(); }
public WorksController(IWorkService workService, IUnitOfWorkAsync unitOfWork) { _workService = workService; _unitOfWork = unitOfWork; }
public static IWorkService BuildWorkService() { if (work_Service == null) { work_Service = new WorkService(); } return work_Service; }
private void HandleCalculateCommand(object obj) { workService = serviceFactory.Resolve<IWorkService>(); workQueue = workService.CreateWorkQueue<MatrixMultiplicationWorkItem, MatrixMultiplicationWorkResult>(); workQueue.Initialize<MatrixMultiplicationCommand>(); CalculateDistributed(); }
public WorkController(IWorkService workService) { _workService = workService; }