public AgreementController(IAgreementRepository repo, ICustomerRepository customerRepo, ITransactionRepository transactionRepo, IMapper mapper) { this._agreementRepo = repo; this._customerRepo = customerRepo; this._transactionRepo = transactionRepo; this._mapper = mapper; }
public CreateActivityOperation( IAgreementRepository agreementRepo, IActivityRepository activityRepo, IDictionary <string, BlockingCollection <ActivityProviderEvent> > providerEventQueues) : base(agreementRepo, activityRepo, providerEventQueues, null) { }
public AgreementController( IBus bus, IAgreementRepository agreementRepository) { _bus = bus; _agreementRepository = agreementRepository; }
public GetExecBatchResultsOperation( IAgreementRepository agreementRepo, IActivityRepository activityRepo, IDictionary <string, BlockingCollection <ActivityRequestorEvent> > exeBatchQueues) : base(agreementRepo, activityRepo, null, exeBatchQueues) { }
public CancelAgreementHandler( IBus bus, IAgreementRepository agreementRepository) { _bus = bus; _agreementRepository = agreementRepository; }
public SendActivityStateDetailsOperation( IAgreementRepository agreementRepo, IActivityRepository activityRepo, IDictionary <string, BlockingCollection <ActivityRequestorEvent> > activityStateQueues) : base(agreementRepo, activityRepo, null, null) { this.ActivityStateQueues = activityStateQueues; }
public InMemoryMarketProcessor(ISubscriptionRepository subscriptionRepository, IProposalRepository proposalRepository, IAgreementRepository agreementRepository) { this.SubscriptionRepository = subscriptionRepository; this.ProposalRepository = proposalRepository; this.AgreementRepository = agreementRepository; }
public AgreementServices(IAgreementRepository agreementRepository) { if (agreementRepository == null) { throw new ArgumentNullException("AgreementRepository"); } _AgreementRepository = agreementRepository; }
public GetOperation( IAgreementRepository agreementRepo, IActivityRepository activityRepo, IDictionary <string, BlockingCollection <ActivityProviderEvent> > providerEventQueues, IDictionary <string, BlockingCollection <ActivityRequestorEvent> > activityEventQueues) : base(agreementRepo, activityRepo, providerEventQueues, null, activityEventQueues) { }
public AgreementPageController( IAgreementRepository agreementRepository, IUserManagementService usersManagementService, TicketProvider ticketProvider, IUserManagementService userManager) : base(userManager) { _agreementRepository = agreementRepository; }
public ActivityControlApiController(IRequestorActivityProcessor activityProcessor, IAgreementRepository agreementRepository, IActivityRepository activityRepository, ExeScriptMapper exeScriptMapper) { this.ActivityProcessor = activityProcessor; this.AgreementRepository = agreementRepository; this.ActivityRepository = activityRepository; this.ExeScriptMapper = exeScriptMapper; }
public WeighInPageController( IWeighInRepository weighInRepo, IAgreementRepository agreementRepo, IUserManagementService userManager, TicketProvider ticketProvider) : base(userManager) { _weighInRepository = weighInRepo; _agreementRepository = agreementRepo; _ticket = ticketProvider.GetTicket(); }
public CreateAgreementOperation(ISubscriptionRepository subscriptionRepo, IProposalRepository proposalRepo, IAgreementRepository agreementRepo, IDictionary <string, SubscriptionPipeline <DemandSubscription, MarketRequestorEvent> > requestorEventPipelines, IDictionary <string, string> demandSubscriptions, IDictionary <string, SubscriptionPipeline <OfferSubscription, MarketProviderEvent> > providerEventPipelines, IDictionary <string, string> offerSubscriptions) : base(subscriptionRepo, proposalRepo, agreementRepo, requestorEventPipelines, demandSubscriptions, providerEventPipelines, offerSubscriptions) { }
public SQLUnitOfWork(IClientsRepository ClientsRepository, IAgreementRepository AgreementRepository, IAgreementDetailsRepository AgreementDetailsRepository, IProductsRepository ProductsRepository, EFTestContext context) { _ClientsRepository = ClientsRepository; _AgreementRepository = AgreementRepository; _AgreementDetailsRepository = AgreementDetailsRepository; _ProductsRepository = ProductsRepository; _context = context; }
public AgreementServices(IAgreementRepository agreementRepository, IAgreementTypeRepository agreementTypeRepository, IAgreementStatusRepository agreementStatusRepository, IUnitOfWork unitOfWork) { _agreementRepository = agreementRepository; _agreementTypeRepository = agreementTypeRepository; _agreementStatusRepository = agreementStatusRepository; _unitOfWork = unitOfWork; }
//public static ILogger Logger; public RatesCalculationSerivce(IChangedRateImpactEvaluator impactEvaluator, IAgreementRepository agreememtRepository, IBaseRateValueExtractor baseRateValueExtractor) { if (agreememtRepository == null) { throw new ArgumentNullException("AgreememtRepository"); } _agreememtRepository = agreememtRepository; _impactEvaluator = impactEvaluator; _baseRateValueExtractor = baseRateValueExtractor; }
public CancelAgreementOperation(ISubscriptionRepository subscriptionRepo, IProposalRepository proposalRepo, IAgreementRepository agreementRepo, IDictionary <string, SubscriptionPipeline <DemandSubscription, MarketRequestorEvent> > requestorEventPipelines, IDictionary <string, string> demandSubscriptions, IDictionary <string, SubscriptionPipeline <OfferSubscription, MarketProviderEvent> > providerEventPipelines, IDictionary <string, string> offerSubscriptions, IDictionary <string, BlockingCollection <AgreementResultEnum> > agreementResultPipelines) : base(subscriptionRepo, proposalRepo, agreementRepo, requestorEventPipelines, demandSubscriptions, providerEventPipelines, offerSubscriptions, agreementResultPipelines) { }
public ActivityProviderGatewayApiController(IProviderActivityProcessor activityProcessor, IAgreementRepository agreementRepository, IActivityRepository activityRepository, ExeScriptMapper exeScriptMapper, ActivityProviderEventMapper eventMapper) { this.ActivityProcessor = activityProcessor; this.AgreementRepository = agreementRepository; this.ActivityRepository = activityRepository; this.ExeScriptMapper = exeScriptMapper; this.EventMapper = eventMapper; }
public InMemoryActivityOperationBase( IAgreementRepository agreementRepo, IActivityRepository activityRepo, IDictionary <string, BlockingCollection <ActivityProviderEvent> > providerEventQueues, IDictionary <string, BlockingCollection <ActivityRequestorEvent> > exeBatchQueues ) { this.AgreementRepository = agreementRepo; this.ActivityRepository = activityRepo; this.ProviderEventQueues = providerEventQueues; this.ExeBatchQueues = exeBatchQueues; }
public MarketRequestorApiController(IRequestorMarketProcessor marketProcessor, ISubscriptionRepository subscriptionRepository, IProposalRepository proposalRepository, IAgreementRepository agreementRepository, MarketRequestorEventMapper requestorEventMapper, DemandMapper demandMapper, OfferMapper offerMapper) { this.MarketProcessor = marketProcessor; this.SubscriptionRepository = subscriptionRepository; this.ProposalRepository = proposalRepository; this.AgreementRepository = agreementRepository; this.RequestorEventMapper = requestorEventMapper; this.DemandMapper = demandMapper; this.OfferMapper = offerMapper; }
public InMemoryMarketOperationBase( ISubscriptionRepository subscriptionRepo, IProposalRepository proposalRepo, IAgreementRepository agreementRepo, IDictionary <string, SubscriptionPipeline <DemandSubscription, MarketRequestorEvent> > requestorEventPipelines, IDictionary <string, string> demandSubscriptions, IDictionary <string, SubscriptionPipeline <OfferSubscription, MarketProviderEvent> > providerEventPipelines, IDictionary <string, string> offerSubscriptions ) { this.SubscriptionRepository = subscriptionRepo; this.ProposalRepository = proposalRepo; this.AgreementRepository = agreementRepo; this.RequestorEventPipelines = requestorEventPipelines; this.DemandSubscriptions = demandSubscriptions; this.ProviderEventPipelines = providerEventPipelines; this.OfferSubscriptions = offerSubscriptions; }
public MarketProviderApiController(IProviderMarketProcessor marketProcessor, ISubscriptionRepository subscriptionRepository, IProposalRepository proposalRepository, IAgreementRepository agreementRepository, MarketProviderEventMapper providerEventMapper, OfferMapper offerMapper, DemandMapper demandMapper, ILogger <MarketProviderApiController> logger) { this.MarketProcessor = marketProcessor; this.SubscriptionRepository = subscriptionRepository; this.ProposalRepository = proposalRepository; this.AgreementRepository = agreementRepository; this.ProviderEventMapper = providerEventMapper; this.OfferMapper = offerMapper; this.DemandMapper = demandMapper; this._logger = logger; }
public AgreementController(IAgreementRepository testAgreementRepository) { this.agreementRepository = testAgreementRepository; }
public TransactionController(ITransactionRepository repo, IAgreementRepository agrRepo, IMapper mapper) { this._transactionRepo = repo; this._agreementRepo = agrRepo; this._mapper = mapper; }
public InMemoryActivityProcessor(IAgreementRepository agreementRepository, IActivityRepository activityRepository) { this.AgreementRepository = agreementRepository; this.ActivityRepository = activityRepository; }
public AgreementController() { // should be refactored after DI functionality added this.agreementRepository = new AgreementRepository(); }
public AgreementService(IAgreementRepository agreementRepository, IOrderAgreementRepository orderAgreementRepository) { _agreementRepository = agreementRepository; _orderAgreementRepository = orderAgreementRepository; }
public DraftService(IAgreementRepository agreementRepository, IDraftRepository draftRepository) { _agreementRepository = agreementRepository; _draftRepository = draftRepository; }
public BusinessService(IAgreementRepository agreementRepository, IErrorService errorService, IValidatorService validatorService) { _agreementRepository = agreementRepository; _errorService = errorService; _validatorService = validatorService; }
public OpenAgreementBlockController(IAgreementRepository agreementRepo, IUserManagementService userManager) { _agreementRepo = agreementRepo; _userManager = userManager; }
public InterestRateService() { customerRepository = new CustomerRepository(new DatabaseContext()); agreementRepository = new AgreementRepository(new DatabaseContext()); }