public ProjectMetricService(JazzMetricsContext db, IHelperService helperService, IHttpContextAccessor contextAccessor, IProjectMetricSnapshotService snapshotService, IProjectMetricLogService logService) : base(db) { _logService = logService; _snapshotService = snapshotService; CurrentUser = helperService.GetCurrentUser(contextAccessor.HttpContext.User.GetId()); }
public InvokeMethodHandler(ICachingService cachingService, IHubContext <MessageQueueHub> hubContext, StreamFlowConfiguration streamFlowConfiguration, IHelperService helperService) { _helperService = helperService; _cachingService = cachingService; _hubContext = hubContext; _streamFlowConfiguration = streamFlowConfiguration; }
// GET: Task public TaskController(IHelperService helperService, ISmsService smsSvc, IEnrolleeService enrolleeService, ILogAdminService loggersvc, IProviderService providersvc, ISession session, IEmailSender emailSender, SiteSettings siteSettings, Site site, IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc, IServicesService serviceSvc, IProviderService Providersvc, ILogAdminService logger, ICompanyService companyService, UserService userService, IRoleService roleService, MailSettings mailSettings, Services.ClaimService claimserv) { _helperSvc = helperService; _enrolleeService = enrolleeService; _smsservice = smsSvc; _logger = loggersvc; _providerservice = providersvc; _session = session; _emailSender = emailSender; _siteSettings = siteSettings; _site = site; _planService = planService; _uniquePageService = uniquepageService; _pageMessageSvc = pageMessageSvc; _serviceSvc = serviceSvc; _providerSvc = Providersvc; _logger = logger; _companySvc = companyService; _userservice = userService; _rolesvc = roleService; _mailSettings = mailSettings; _claimservice = claimserv; }
public CargoReturnModel(PortFreightContext context, UserManager <PortFreightUser> userManager, IHelperService helperService, IMsd2DataService msd2DataService) { _context = context; _userManager = userManager; _helperService = helperService; _msd2DataService = msd2DataService; }
public LessonPresentationAppService(IBus bus, ILessonPresentationRepository lessonPresentationRepository, IUser user, IHelperService helperService) { _bus = bus; _lessonPresentationRepository = lessonPresentationRepository; _user = user; _helperService = helperService; }
public WebAppResultFinder(IWoxContextService woxContextService, IWebAppService webAppService, IHelperService helperService, IApplicationInformationService applicationInformationService, ISystemWebAppService systemWebAppService) : base(woxContextService) { WebAppService = webAppService; HelperService = helperService; ApplicationInformationService = applicationInformationService; SystemWebAppService = systemWebAppService; }
public GESMESFileProcess( FlatFile fileInfo, LogFileData logFileData, GesmesHelpers gesmesHelpers, ValidateMsdData validateMsdData, Msd1FileProcess msd1FileProcess, Msd2FileProcess msd2FileProcess, Msd3FileProcess msd3FileProcess, IMsd1DataService msd1DataService, IMsd2DataService msd2DataService, IMsd3DataService msd3DataService, IFileProcessService fileProcessService, IHelperService helperService, IOptions <FileOptions> settings, IEmailSender emailSender, ILogger <GESMESFileProcess> logger) { _fileInfo = fileInfo; _logFileData = logFileData; _gesmesHelpers = gesmesHelpers; _helperService = helperService; _msd1DataService = msd1DataService; _msd2DataService = msd2DataService; _msd3DataService = msd3DataService; _validateMsdData = validateMsdData; _fileProcessService = fileProcessService; _logger = logger; _settings = settings.Value; _emailSender = emailSender; _msd1FileProcess = msd1FileProcess; _msd2FileProcess = msd2FileProcess; _msd3FileProcess = msd3FileProcess; headerErrors = new StringBuilder(); bodyErrorMsg = new StringBuilder(); }
public UserController( IMasterDetailPermissionManager masterDetailPermissionManager, IIndexProvider indexProvider, IContentOwnershipHelper contentOwnershipHelper, IExtendedProjectService projectService, IHelperService helperService, IOrchardServices services, IActivityStreamService activityStreamService, ICRMContentOwnershipService contentOwnershipService, IBasicDataService basicDataService, IMembershipService membershipService, IUserService userService, IShapeFactory shapeFactory, IEnumerable <IUserEventHandler> userEventHandlers, ISiteService siteService) { this.masterDetailPermissionManager = masterDetailPermissionManager; this.indexProvider = indexProvider; this.contentOwnershipHelper = contentOwnershipHelper; this.projectService = projectService; this.activityStreamService = activityStreamService; this.contentOwnershipService = contentOwnershipService; this.basicDataService = basicDataService; this.services = services; this.helperService = helperService; _membershipService = membershipService; _userService = userService; _userEventHandlers = userEventHandlers; _siteService = siteService; T = NullLocalizer.Instance; Shape = shapeFactory; }
public ItemController(IRepositoryMaintenanceMk2 <Item> repo, IRepositoryMachineMk2 <Employee> repoEmp, IRepositoryMachineMk2 <EmployeeGroupMis> repoGroupMis, IRepositoryMaintenanceMk2 <ItemType> repoType, IRepositoryMaintenanceMk2 <RequireMaintenance> repoRequireMain, IRepositoryDapper <ItemViewModel> repoDapper, ExcelWorkBookService excelWorkBook, IHelperService helper, IHostingEnvironment hosting, IMapper mapper) : base(repo, mapper) { // Repository Machine this.repositoryEmp = repoEmp; this.repositoryGroupMis = repoGroupMis; // Repository Maintenance this.repositoryType = repoType; this.repositoryRequireMaintenance = repoRequireMain; // Dapper this.dapper = repoDapper; // Helper this.excelWorkBookService = excelWorkBook; this.helperService = helper; // Host this.hosting = hosting; }
public DispatchController(DispatchNoteService dispatchNoteService, ClientService clientService, DriverService driverService, HelperService helperService, VehicleService vehicleService) { if (dispatchNoteService == null) { throw new NullReferenceException("dispatchNoteService"); } if (clientService == null) { throw new NullReferenceException("clientService"); } if (driverService == null) { throw new NullReferenceException("driverService"); } if (helperService == null) { throw new NullReferenceException("helperService"); } if (vehicleService == null) { throw new NullReferenceException("vehicleService"); } _dispatchNoteService = dispatchNoteService; _clientService = clientService; _driverService = driverService; _helperService = helperService; _vehicleService = vehicleService; }
public CourseAppService(IBus bus, ICourseRepository courseRepository, ITeacherRepository teacherRepository, IHelperService helperService) { _bus = bus; _courseRepository = courseRepository; _teacherRepository = teacherRepository; _helperService = helperService; }
public ProductosController( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, MessagesService messagesService, IProductosService productosService, IVisitasService VisitasService, ICategoriasService categoriasService, IProductoCategoriasService productoCategoriasService, IVendedoresService vendedoresService, IUsuariosService usuariosService, IProductosVendedoresService productosVendedoresService, IReviewsService reviewsService, IHelperService helperService, IOpcionesProductosService opcionesProductosService, IImagenesProductosService imagenesProductosService, IMemoryCache memoryCache) { _userManager = userManager; _signInManager = signInManager; _messagesService = messagesService; _productosService = productosService; _VisitasService = VisitasService; _categoriasService = categoriasService; _productoCategoriasService = productoCategoriasService; _vendedoresService = vendedoresService; _usuariosService = usuariosService; _productosVendedoresService = productosVendedoresService; _reviewsService = reviewsService; _helperService = helperService; _opcionesProductosService = opcionesProductosService; _imagenesProductosService = imagenesProductosService; _memoryCache = memoryCache; }
public EnrolleeService(ISession session, ILogAdminService log, IUserService userserv, IHelperService helpersvc) { _session = session; _logger = log; _userService = userserv; _helpersvc = helpersvc; }
public SettingController(IHelperService helperService, ITimerScheduleService timerScheduleService, IAccountApplianceService accountApplianceService, IApplianceService applianceService, IStateService stateService, IOptions <AppSetting> appSettings) : base(appSettings.Value) { this._helperService = helperService; this._applianceService = applianceService; this._stateService = stateService; this._accountApplianceService = accountApplianceService; this._timerScheduleService = timerScheduleService; }
public MetricService(JazzMetricsContext db, IAspiceProcessService aspiceProcessService, IMetricTypeService metricTypeService, IAffectedFieldService affectedFieldService, IHttpContextAccessor contextAccessor, IHelperService helperService) : base(db) { _metricTypeService = metricTypeService; _aspiceProcessService = aspiceProcessService; _affectedFieldService = affectedFieldService; CurrentUser = helperService.GetCurrentUser(contextAccessor.HttpContext.User.GetId()); }
public SailingBoatAdDetailsModel(SailingBoatAd ad, IHelperService helper) : base(ad) { BoatType = ad.SailingBoatType != null ? ad.SailingBoatType.Label : String.Empty; HullType = ad.HullType != null ? ad.HullType.Label : String.Empty; Year = ad.Year != 0 ? ad.Year : (int?)null; Length = ad.Length != 0 ? String.Format(helper.GetCulture(), "{0:F2} Mtr", ad.Length) : String.Empty; }
public SailingBoatAdDetailsModel(SailingBoatAd ad, IHelperService helper) : base(ad) { BoatType = ad.SailingBoatType != null ? ad.SailingBoatType.Label : String.Empty; HullType = ad.HullType != null ? ad.HullType.Label : String.Empty; Year = ad.Year != 0 ? ad.Year : (int?) null; Length = ad.Length != 0 ? String.Format(helper.GetCulture(), "{0:F2} Mtr", ad.Length) : String.Empty; }
public UtilsController(DataContext context, IHelperService helperService, ICalendarService calService, IEmailService emailService, IHostingEnvironment hostingEnvironment) { _context = context; _calService = calService; _emailService = emailService; _hostingEnvironment = hostingEnvironment; _helperService = helperService; }
public SendBirthDayMessageTask(IHelperService helperService, ISmsService smsSvc, IEnrolleeService enrolleeService, ILogAdminService loggersvc, IProviderService providersvc) { _helperSvc = helperService; _enrolleeService = enrolleeService; _smsservice = smsSvc; _logger = loggersvc; _providerservice = providersvc; }
public CheckSerialNumberController(IHelperService helperService, IOptions <AppSetting> appSettings) { _appSettings = appSettings.Value; this._helperService = helperService; client = new HttpClient(); client.DefaultRequestHeaders.Accept.Clear(); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); }
public AuthenticateIdentityHandler(IDataLayer dataLayer, ICachingService cachingService, IHelperService helperService, JwtOptionsBO jwtOptionsBo, IJwtService jwtService) { _jwtService = jwtService; _jwtOptions = jwtOptionsBo; _helperService = helperService; _dataLayer = dataLayer; _cachingService = cachingService; }
public AuthService(IHttpService httpService, HttpClient httpClient, AuthenticationStateProvider authenticationStateProvider, ILocalStorageService localStorageService, IHelperService helperService) { this._httpService = httpService; this._authenticationStateProvider = authenticationStateProvider; this._localStorageService = localStorageService; this._helperService = helperService; this._httpClient = httpClient; }
public FolderDriver( IExtendedProjectService projectService, IHelperService helperService, IFolderService folderService, ICRMContentOwnershipService contentOwnershipService, IOrchardServices services) : base(contentOwnershipService, projectService, services, helperService, folderService) { }
// GET: api/PurchaseLineExtend public PurchaseLineExtendController(IRepositorySageX3Extend <PurchaseLineExtend> repo, IRepositoryDapperSageX3 <PurchaseRequestLinePureViewModel> repoPrLinePure, IMapper mapper, IHelperService helper, JsonSerializerService jsonService) : base(repo, mapper, helper, jsonService) { this.repositoryPrLinePure = repoPrLinePure; }
public LoginController(IHostingEnvironment env, IHelperService helperService, IOptions <AppSetting> appSettings) { _env = env; _appSettings = appSettings.Value; this._helperService = helperService; client = new HttpClient(); client.DefaultRequestHeaders.Accept.Clear(); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); }
public VesselDetailsModel( PortFreightContext context, ILogger <VesselDetailsModel> logger, IHelperService helperService) { _context = context; _logger = logger; _helperService = helperService; }
public CompanyDetailsModel( PortFreightContext context, IHelperService helperService, UserManager <PortFreightUser> userManager) { _context = context; _helperService = helperService; _userManager = userManager; }
public TariffPageController(IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc, IHelperService helperService, ITariffService tariffService, IProviderService Providersvc, IUserService userservice) { _uniquePageService = uniquepageService; _pageMessageSvc = pageMessageSvc; _helperSvc = helperService; _userservice = userservice; _tariffService = tariffService; _providerSvc = Providersvc; }
public HelperServiceTest() { DbContextOptions <PortFreightContext> optionsBuilder = new DbContextOptionsBuilder <PortFreightContext>() .UseInMemoryDatabase("InMemoryDb") .Options; actualContext = new PortFreightContext(optionsBuilder); _helperService = new HelperService(actualContext); }
// GET: api/TaskStatusMaster public TaskStatusMasterController(IRepositorySageX3Extend <TaskStatusMaster> repo, IRepositorySageX3Extend <TaskStatusDetail> repoDetail, IMapper mapper, IHelperService helper, JsonSerializerService jsonService ) : base(repo, mapper, helper, jsonService) { this.repositoryDetail = repoDetail; }
public MotorBoatAdDetailsModel(MotorBoatAd ad, IHelperService helper) : base(ad) { BoatType = ad.MotorBoatType != null ? ad.MotorBoatType.Label : String.Empty; MotorType = ad.MotorType != null ? ad.MotorType.Label : String.Empty; Year = ad.Year != 0 ? ad.Year : (int?) null; Length = ad.Length != 0 ? String.Format(helper.GetCulture(), "{0:F2} Mtr", ad.Length) : String.Empty; Hp = ad.Hp != 0 ? String.Format("{0} Cv", ad.Hp) : String.Empty; }
public AuthenticateIdentityHandler(IDataLayer dataLayer, ICachingService cachingService, IHelperService helperService, JwtOptionsBO jwtOptionsBo, IJwtService jwtService, ILoggerWrapper recordsWrapper) { _recordsService = recordsWrapper; _jwtService = jwtService; _jwtOptions = jwtOptionsBo; _helperService = helperService; _dataLayer = dataLayer; _cachingService = cachingService; }
public SearchServices(IRepository repository, ICategoryRepository categoryRepository, ISearchRepository searchRepository, IHelperService helperService, IReferenceServices referenceServices, ILocationServices locationServices) { _repository = repository; _categoryRepository = categoryRepository; _searchRepository = searchRepository; _helperService = helperService; _referenceServices = referenceServices; _locationServices = locationServices; }
/// <summary> /// Add a helper service to the manager /// </summary> /// <param name="service"> /// Target service /// </param> /// <param name="autoStart"> /// Auto-start the service after adding /// </param> public void Add(IHelperService service, bool autoStart) { var type = service.GetType(); IHelperService existService; if (this.services.TryGetValue(type, out existService)) { existService.Configuration = service.Configuration; } else { this.services.Add(type, service); existService = service; } existService.Logger = this.Logger; if (autoStart) { existService.Initialize(); existService.Start(); } }
public SpamAdServices(IAdRepository adRepository, IRepository repository, IHelperService helper) { _adRepository = adRepository; _repository = repository; _helper = helper; }
public AdImageServices(IRepository repository, IHelperService helper) { _repository = repository; _helper = helper; }
/// <summary> /// Stop a certain service if it is running /// </summary> /// <param name="service"> /// Target service to be stopped /// </param> private static void Stop(IHelperService service) { if (service.Status == HelperServiceStatus.Running) { service.Stop(); } }
public AdDetailsServices(IAdRepository adRepository, IHelperService helperService) { _adRepository = adRepository; _helperService = helperService; }
public AdDeletionServices(IAdRepository adRepository, IRepository repository, IHelperService helper) { _adRepository = adRepository; _repository = repository; _helper = helper; }