public ReportRepository(ClassifiedsContext context, IAdvertisementRepository advertisementRepository, IInboxRepository inboxRepository) : base(context) { _advertisementRepository = advertisementRepository; _inboxRepository = inboxRepository; }
public ReceivePartModified() { StandardKernel Kernal = new StandardKernel(); Kernal.Load(Assembly.GetExecutingAssembly()); _serviceSettings = Kernal.Get <SettingRepository>(); _serviceTaskMgrJob = Kernal.Get <TaskMgrJobsRepository>(); _serviceTaskMgrXml = Kernal.Get <TaskMgrXmlRepository>(); _serviceJobWorkFlow = Kernal.Get <JobWorkflowRepository>(); _serviceIncomingData = Kernal.Get <IncomingDataRepository>(); _serviceJobStackErrorLog = Kernal.Get <JobStackErrorLogRepository>(); _serviceTransactionLog = Kernal.Get <TransactionLogRepository>(); _serviceInbox = Kernal.Get <InboxRepository>(); _servicePipeline = Kernal.Get <PipelineRepository>(); _serviceDataset = Kernal.Get <metadataDatasetRepository>(); _serviceNomStatus = Kernal.Get <NominationStatusRepository>(); _applicationLogs = Kernal.Get <ApplicationLogRepository>(); _serviceBatch = Kernal.Get <BatchRepository>(); _serviceNomination = Kernal.Get <NominationsRepository>(); _serviceMetadatCycle = Kernal.Get <metadataCycleRepository>(); unitOfWork = Kernal.Get <UnitOfWork>(); modalFactory = Kernal.Get <ModalFactory>(); _serviceShipperCompany = Kernal.Get <ShipperCompanyRepository>(); _serviceFileSysIncomingData = Kernal.Get <FileSysIncomingDataRepository>(); _serviceSqtsOpPerTransaction = Kernal.Get <SQTSOPPerTransactionRepository>(); #region get nmqr services _serviceNmqrPerTransaction = Kernal.Get <NMQRPerTransactionRepository>(); #endregion #region get sqts service _serviceSqtsTrackOnNom = Kernal.Get <SQTSTrackOnNomRepository>(); _serviceSqtsFile = Kernal.Get <SQTSFileRepository>(); _serviceSqtsPerTransaction = Kernal.Get <SQTSPerTransactionRepository>(); #endregion #region get email service emailTempalteService = Kernal.Get <EmailTemplateRepository>(); emailQueueService = Kernal.Get <EmailQueueRepository>(); appLogService = Kernal.Get <ApplicationLogRepository>(); #endregion var path = Path.Combine(HostingEnvironment.MapPath("~/App_Data"), "SQTSReductionReasons.xml"); FileInfo fileInfo = new FileInfo(path); XmlDocument xmlRedReason = new XmlDocument(); if (System.IO.File.Exists(path) && !IsFileLocked(fileInfo)) { try { xmlRedReason.Load(path); var redResonNode = xmlRedReason.GetElementsByTagName("Reason"); if (redResonNode != null) { redReasonList = redResonNode.Cast <XmlNode>(); } } catch (Exception ex) { } } }
public InboxService(IInboxRepository inboxRepository, IMvxMessenger mvxMessenger) { // this wont get initialized from the Mvx IoC // so we do it here _inboxRepository = inboxRepository; _mvxMessenger = mvxMessenger; }
public InboxController(IInboxRepository inboxCtx, IHttpContextAccessor httpContextAccessor /*,LOLHUBApplicationDbContext context, IPlayerRepository playerRepository, ITeamRepository teamrepository*/) { _inboxCtx = inboxCtx; _httpContextAccessor = httpContextAccessor; //_context = context; //_playerRepository = playerRepository; //_teamRepository = teamrepository; }
public GigsController(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _attendanceRepository = _unitOfWork.Attendances; _gigRepository = _unitOfWork.Gigs; _inboxRepository = _unitOfWork.Inboxes; _notificationRepository = _unitOfWork.Notifications; _userRepository = _unitOfWork.Users; }
public OrganizerController(UserManager <UserModel> userManager, IChatRepository chatRepository, INotesRepository notesRepository, RoleManager <IdentityRole> roleManager, IInboxRepository inboxRepository) { _userManager = userManager; _chatRepository = chatRepository; _notesRepository = notesRepository; _roleManager = roleManager; _inboxRepository = inboxRepository; }
public OfferRepository(ClassifiedsContext context, IAdvertisementRepository advertisementRepository, IAttributeRepository attributeRepository, ICategoryRepository categoryRepository, IImageRepository imageRepository, IInboxRepository inboxRepository) : base(context) { _advertisementRepository = advertisementRepository; _imageRepository = imageRepository; _attributeRepository = attributeRepository; _categoryRepository = categoryRepository; _context = context; _inboxRepository = inboxRepository; }
public AdDetailRepository(IAdvertisementRepository advertisementRepository, IImageRepository imageRepository, IAttributeDetailRepository attributeDetailRepository, ICategoryRepository categoryRepository, IAttributeRepository attributeRepository, IInboxRepository inboxRepository, IReportRepository reportRepository, ClassifiedsContext context, IConfiguration configuration) : base(context) { _advertisementRepository = advertisementRepository; _reportRepository = reportRepository; _inboxRepository = inboxRepository; _imageRepository = imageRepository; _attributeDetailRepository = attributeDetailRepository; _attributeRepository = attributeRepository; _categoryRepository = categoryRepository; _configuration = configuration; _context = context; }
public SyncHostedService(IChainSmsHandler chainSmsHandler, IInboxRepository inboxRepository, BackgroundConfiguration backgroundConfiguration, int maxBatchSize) { _chainSmsHandler = chainSmsHandler; _inboxRepository = inboxRepository; _backgroundConfiguration = backgroundConfiguration; if (maxBatchSize <= 0) { throw new ArgumentException("Batch size should be positive", nameof(maxBatchSize)); } _maxBatchSize = maxBatchSize; _smsSet = new HashSet <DbSms>(_maxBatchSize, new SmsEqualityComparer()); _tasks = new List <Task>(); }
public AdminController(IShoppingCartItemRepository shoppingCartItemRepository, IProductRepository productRepository, IIncomeRepository incomeRepository, IUserOrderItemRepository userOrderItemRepository, IUserOrderRepository userOrderRepository, UserManager <UserModel> userManager, RoleManager <IdentityRole> roleManager, IInboxRepository inboxRepository) { _shoppingCartItemRepository = shoppingCartItemRepository; _productRepository = productRepository; _incomeRepository = incomeRepository; _userOrderItemRepository = userOrderItemRepository; _userOrderRepository = userOrderRepository; _userManager = userManager; _roleManager = roleManager; _inboxRepository = inboxRepository; }
public HomeController(ICMSIndexRepository cMSIndexRepository, IInboxRepository inboxRepository) { _cMSIndexRepository = cMSIndexRepository; _inboxRepository = inboxRepository; }
public WiadOtrzymaneViewComponent(IInboxRepository inboxCtx, IHttpContextAccessor httpContextAccessor) { _inboxCtx = inboxCtx; _httpContextAccessor = httpContextAccessor; }
protected PromoteSmsHandler(IInboxRepository repository, string promoteState) { _repository = repository; _promoteState = promoteState; }
public FailSmsHandler(IInboxRepository repository) : base(repository, Constants.States.Fail) { }
public CommitSmsHandler(IInboxRepository repository) : base(repository, Constants.States.Sent) { }
public InboxController(IInboxRepository repository) { _repository = repository; }
public InboxController(IInboxRepository inboxRepository) { _inboxRepository = inboxRepository; }
public InboxesController(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _inboxReposiroty = _unitOfWork.Inboxes; }