/// <summary> /// 构造函数注入 /// </summary> /// <param name="studentRepository"></param> /// <param name="uow"></param> /// <param name="bus"></param> /// <param name="cache"></param> public SupporterCommandHandler(ISupporterRepository supporterRepository, IUnitOfWork uow, IMediatorHandler bus, IMemoryCache cache ) : base(uow, bus, cache) { _supporterRepository = supporterRepository; Bus = bus; Cache = cache; }
public DietAppService( ICustomerDietRepository customerDietRepository, ISupporterRepository supporterRepository, ICustomerRepository customerRepository, ICustomerServiceRepository customerServiceRepository, IServiceRepository serviceRepository, IMapper mapper, IMediatorHandler bus ) { _customerDietRepository = customerDietRepository; _supporterRepository = supporterRepository; _customerRepository = customerRepository; _serviceRepository = serviceRepository; _mapper = mapper; Bus = bus; }
public SupporterAppService( ISupporterRepository supporterRepository, ICustomerRepository customerRepository, IServiceRepository serviceRepository, IAnswerRepository answerRepository, IQuestionnaireRepository questionnaireRepository, IMapper mapper, IMediatorHandler bus ) { _supporterRepository = supporterRepository; _customerRepository = customerRepository; _serviceRepository = serviceRepository; _answerRepository = answerRepository; _questionnaireRepository = questionnaireRepository; _mapper = mapper; Bus = bus; }
public CustomerAppService( ICustomerRepository customerRepository, IServiceRepository serviceRepository, ISupporterRepository supporterRepository, IAgenterRepository agenterRepository, ICustomerJobRepository customerJobRepository, IAnswerRepository answerRepository, IMapper mapper, IMediatorHandler bus ) { _customerRepository = customerRepository; _serviceRepository = serviceRepository; _supporterRepository = supporterRepository; _agenterRepository = agenterRepository; _customerJobRepository = customerJobRepository; _answerRepository = answerRepository; _mapper = mapper; Bus = bus; }
public SupporterService(ISupporterRepository supporterRepository, IUnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; this.supporterRepository = supporterRepository; }
public PaymentService(IDonationRepository donationRepository, ISupporterRepository supporterRepository) { _donationRepository = donationRepository; _supporterRepository = supporterRepository; }