public AddSharingHandler(IUnitOfWork unitOfWork, ISharingFactory sharingFactory, ISelectionRepository selectionRepository, IRecipientRepository recipientRepository) { _unitOfWork = unitOfWork; _sharingFactory = sharingFactory; _selectionRepository = selectionRepository; _recipientRepository = recipientRepository; }
/// <summary> /// Initializes a new instance of the <see cref="InvoiceService"/> class. /// </summary> /// <param name="invoiceRepository"> /// The invoice repository. /// </param> /// <param name="recipientRepository"> /// The recipient Repository. /// </param> /// <param name="authorityRepository"> /// The authority Repository. /// </param> /// <param name="invoiceItemRepository"> /// The invoice Item Repository. /// </param> public InvoiceService(IInvoiceRepository invoiceRepository, IRecipientRepository recipientRepository, IAuthorityRepository authorityRepository, IInvoiceItemRepository invoiceItemRepository) { this.invoiceRepository = invoiceRepository; this.recipientRepository = recipientRepository; this.authorityRepository = authorityRepository; this.invoiceItemRepository = invoiceItemRepository; }
public OrderService(IPersistenceContext persistenceContext) { PersistenceContext = persistenceContext; OrderRepository = persistenceContext.OrderRepository; customerRepository = persistenceContext.CustomerRepository; routeRepository = persistenceContext.RouteRepository; recipientRepository = persistenceContext.RecipientRepository; }
public FileService(IFileRepository fileRepository , IFolderRepository folderRepository , IRecipientRepository recipientRepository) { _fileRepository = fileRepository; _folderRepository = folderRepository; _recipientRepository = recipientRepository; }
public RecipientService( IRecipientRepository recipientRepository, IValidator <RecipientDto> validator, IMapper mapper) { _recipientRepository = recipientRepository; _validator = validator; _mapper = mapper; }
public PresenterRecipient(IRecipientRepository recipientRepository, IRecipientView view) { _recipientRepository = recipientRepository; _view = view; _view.AddChanged += () => AddRecipient(); _view.RemoveChanged += () => RemoveRecipient(); _view.Update(_recipientRepository.Recipients); _recipientRepository.RecipientsChanged += _recipientRepository_RecipientsChanged; }
public EntriesAppService(IRecipientRepository recipientRepository, IDocumentRepository documentRepository, IRepository<MergeField> mergeFieldsRepository, IRepository<FillRequestReadModel> fillRequestReadModelRepository) { _mergeFieldsRepository = mergeFieldsRepository; _documentRepository = documentRepository; _recipientRepository = recipientRepository; _fillRequestReadModelRepository = fillRequestReadModelRepository; }
public TransactionValidator( ICategoryRepository categoryRepository, ICurrencyRepository currencyRepository, IRecipientRepository recipientRepository, ITransactionRepository transactionRepository) { _categoryRepository = categoryRepository; _currencyRepository = currencyRepository; _recipientRepository = recipientRepository; _transactionRepository = transactionRepository; }
protected ScheduleJobBase() { _EmailService = new EmailService(); _DbFactory = DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow); _JobRepository = new JobRepository(_DbFactory); _EmailContentRepository = new EmailContentRepository(_DbFactory); _RecipientRepository = new RecipientRepository(_DbFactory); _Job = _JobRepository.Get(p => p.KeyValue == KeyValue); Attachments = new List <EmailFileAttachment>(); }
/// <summary> /// Constructor that used to inject external dependencies /// </summary> /// <param name="correspondenceRepository">Repository for manage set of <see cref="Correspondence"/> entities</param> /// <param name="recipientRepository">Repository for manage set of <see cref="Recipient"/> entities</param> /// <param name="messageRepository">Repository for manage set of <see cref="Message"/> entities</param> /// <param name="emailService">Service to work with mail</param> /// <param name="emailSender">Credentials that used to send messages</param> public MailController(ICorrespondenceRepository correspondenceRepository, IRecipientRepository recipientRepository, IMessageRepository messageRepository, IEmailService emailService, IEmailSender emailSender) { _correspondenceRepository = correspondenceRepository; _recipientRepository = recipientRepository; _messageRepository = messageRepository; _emailService = emailService; _emailSender = emailSender; }
public AddRecipientsSelectionsHandler(IUnitOfWork unitOfWork, ISelectionFactory selectionFactory, IRecipientFactory recipientFactory, IRecipientRepository recipientRepository, ISelectionRepository selectionRepository, ISharingRepository sharingRepository, ISharingFactory sharingFactory, IValidator[] validator, ICommandHandlerDispatcher commandHandlerDispatcher) { _unitOfWork = unitOfWork; _selectionFactory = selectionFactory; _recipientFactory = recipientFactory; _recipientRepository = recipientRepository; _selectionRepository = selectionRepository; _sharingFactory = sharingFactory; _sharingRepository = sharingRepository; _validator = validator; _commandHandlerDispatcher = commandHandlerDispatcher; }
public RecipientDetailViewModel(IEventAggregator eventAggregator, IMessageDialogService messageDialogService, IRecipientRepository recipientRepository) : base(eventAggregator, messageDialogService) { _recipientRepository = recipientRepository; eventAggregator.GetEvent <AfterDetailSavedEvent>().Subscribe(AfterDetailSaved); eventAggregator.GetEvent <AfterDetailDeletedEvent>().Subscribe(AfterDetailDeleted); AddPaymentCommand = new DelegateCommand(OnAddPaymentExecute); ViewPaymentCommand = new DelegateCommand(OnViewPaymentExecute, OnViewPaymentCanExecute); PaymentLookup = new ObservableCollection <LookupItem>(); }
public void Recipients_ShouldLazyLoadRepository() { // Arrange IUnitOfWork unitOfWork = new UnitOfWork(null); // Act IRecipientRepository firstRepository = unitOfWork.Recipients; IRecipientRepository secondRepository = unitOfWork.Recipients; // Assert Assert.NotNull(firstRepository); Assert.NotNull(secondRepository); Assert.Equal(firstRepository, secondRepository); }
public FileDisassemblerWorker(IConfiguration configuration, WorkerQueueContainer workerQueueContainer , FileDisassemblerServiceFactory fileProcessServiceFactory , TransmissionService transmissionService , IRecipientRepository recipientRepository , IWebhookService webhookService , IFileRepository fileRepository) { _amountOfConcurrentJobs = int.Parse(configuration[Constants.ConcurrentFileDisassemblyJobs]); _workerQueueContainer = workerQueueContainer; _fileProcessServiceFactory = fileProcessServiceFactory; _transmissionService = transmissionService; _recipientRepository = recipientRepository; _webhookService = webhookService; _fileRepository = fileRepository; }
public HealthInsuranceMarketPlaceController(IRecipientRepository recipientRepository, IAddressRepository addressRepository) { this._recipientRepository = recipientRepository; this._addressRepository = addressRepository; var addresss = new Address { Address1 = "Glen Raod", Address2 = "", City = "Charleston", ZipCode = "23345", State = "WV" }; _addressRepository.Add(addresss); _addressRepository.Save(); }
public GetRecipientByEmailHandler(IRecipientRepository recipientRepository) { _recipientRepository = recipientRepository; }
public RecipientProfileService(IRecipientRepository recipientRepository) { this.recipientRepository = recipientRepository; }
public RecipientManager(IRecipientRepository recipientRepository) : base(recipientRepository) { _recipientRepository = recipientRepository; }
public RecipientController(ILogger <RecipientController> logger, IRecipientRepository repository) { _logger = logger; _repository = repository; }
public RecipientsController(IRecipientRepository repository) { _repository = repository; }
public RecipientService(IRecipientRepository repo, IFactory factory) { this.repo = repo; this.factory = factory; }
public RecipientService(IRecipientRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public RecipientValidator(IRecipientRepository recipientRepository) => _recipientRepository = recipientRepository;
public RecipientService(IRecipientRepository recipientRepository) { _recipientRepository = recipientRepository; }