Example #1
0
 public SpecialLiquidationSaga(
     IDateService dateService,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     IRfqService specialLiquidationService,
     MarginTradingSettings marginTradingSettings,
     CqrsContextNamesSettings cqrsContextNamesSettings,
     LiquidationHelper liquidationHelper,
     OrdersCache ordersCache,
     IRfqPauseService rfqPauseService,
     ILog log,
     IAssetPairsCache assetPairsCache)
 {
     _dateService = dateService;
     _chaosKitty  = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _specialLiquidationService        = specialLiquidationService;
     _marginTradingSettings            = marginTradingSettings;
     _cqrsContextNamesSettings         = cqrsContextNamesSettings;
     _liquidationHelper = liquidationHelper;
     _ordersCache       = ordersCache;
     _rfqPauseService   = rfqPauseService;
     _log             = log;
     _assetPairsCache = assetPairsCache;
 }
Example #2
0
 public TestingController(IFakeSnapshotService fakeSnapshotService,
                          MarginTradingSettings settings,
                          IRfqService rfqService)
 {
     _fakeSnapshotService = fakeSnapshotService;
     _rfqService          = rfqService;
     _protectionKey       = settings.TestSettings?.ProtectionKey;
 }
Example #3
0
        public Rfq(IRfqService rfqService, IConcurrencyService concurrencyService)
        {
            _rfqService         = rfqService;
            _concurrencyService = concurrencyService;
            _stateMachine       = new StateMachine <RfqState, RfqEvent>(RfqState.Input);
            _rfqUpdateSubject   = new BehaviorSubject <RfqUpdate>(new RfqUpdate(RfqState.Input, null, null));
            _disposables        = new CompositeDisposable(_cancellationSubscription, _executionSubscription, _requestSubscription);

            CreateStateMachine();
        }
Example #4
0
        public Rfq(IRfqService rfqService, IConcurrencyService concurrencyService)
        {
            _rfqService = rfqService;
            _concurrencyService = concurrencyService;
            _stateMachine = new StateMachine<RfqState, RfqEvent>(RfqState.Input);
            _rfqUpdateSubject = new BehaviorSubject<RfqUpdate>(new RfqUpdate(RfqState.Input, null, null));
            _disposables = new CompositeDisposable(_cancellationSubscription, _executionSubscription, _requestSubscription);

            CreateStateMachine();
        }
 public RFQController(
     IWorkContext workContext,
     IRfqService rfqService,
     IMapper mapper,
     ISelectItemsServices selectItemsServices)
 {
     _workContext         = workContext;
     _rfqService          = rfqService;
     _mapper              = mapper;
     _selectItemsServices = selectItemsServices;
 }
Example #6
0
 public VendorManagementController(
     IWorkContext workContext,
     ISelectItemsServices selectItemsServices,
     ICostCenterService costCenterService,
     IVendorManagementService vendorManagementService,
     IRfqService rfqService,
     IMapper mapper)
 {
     _workContext             = workContext;
     _selectItemsServices     = selectItemsServices;
     _costCenterService       = costCenterService;
     _vendorManagementService = vendorManagementService;
     _rfqService = rfqService;
     _mapper     = mapper;
 }
Example #7
0
 public ProcessOrdersController(
     IWorkContext workContext,
     IProcessOrderService processOrderService,
     ITransactionReports transactionReports,
     IMapper mapper,
     IRfqService rfqService,
     ISelectItemsServices selectItemsServices,
     ICostCenterService costCenterService)
 {
     _workContext         = workContext;
     _processOrderService = processOrderService;
     _transactionReports  = transactionReports;
     _mapper              = mapper;
     _rfqService          = rfqService;
     _selectItemsServices = selectItemsServices;
     _costCenterService   = costCenterService;
 }
 public SelectItemsController(
     ICostCenterService costCenterService,
     ISelectItemsServices selectItemsServices,
     IProductManagementService productManagementService,
     IWorkContext workContext,
     IFinancialDataService financialDataService,
     IRfqService rfqService,
     IRepository <Orders> orderRepository)
 {
     _costCenterService        = costCenterService;
     _selectItemsServices      = selectItemsServices;
     _productManagementService = productManagementService;
     _workContext          = workContext;
     _financialDataService = financialDataService;
     _rfqService           = rfqService;
     _orderRepository      = orderRepository;
 }
Example #9
0
 public InventoryManagementController(
     IInventoryManagementService invManagement,
     IWorkContext workContext,
     ISelectItemsServices selectItemsServices,
     IProductManagementService productManagementService,
     ICostCenterService costCenterService,
     IMapper mapper,
     IRfqService rfqService,
     IFinancialManagementService financialManagementService)
 {
     _invManagement            = invManagement;
     _workContext              = workContext;
     _selectItemService        = selectItemsServices;
     _productManagementService = productManagementService;
     _costCenterService        = costCenterService;
     _mapper     = mapper;
     _rfqService = rfqService;
     _financialManagementService = financialManagementService;
 }
Example #10
0
 public ProductChangedProjection(
     ITradingEngine tradingEngine,
     IAssetPairsCache assetPairsCache,
     IOrderReader orderReader,
     IScheduleSettingsCacheService scheduleSettingsCacheService,
     ITradingInstrumentsManager tradingInstrumentsManager,
     IRfqService rfqService,
     IRfqPauseService rfqPauseService,
     MarginTradingSettings mtSettings,
     ILog log,
     IQuoteCacheService quoteCache)
 {
     _tradingEngine   = tradingEngine;
     _assetPairsCache = assetPairsCache;
     _orderReader     = orderReader;
     _scheduleSettingsCacheService = scheduleSettingsCacheService;
     _tradingInstrumentsManager    = tradingInstrumentsManager;
     _rfqService      = rfqService;
     _rfqPauseService = rfqPauseService;
     _mtSettings      = mtSettings;
     _log             = log;
     _quoteCache      = quoteCache;
 }
 public RfqController(IRfqService service, IEmailSender emailSender) : base(service)
 {
     _service     = service;
     _emailSender = emailSender;
 }
Example #12
0
 public RfqController(IRfqPauseService rfqPauseService, IRfqService rfqService)
 {
     _rfqPauseService = rfqPauseService;
     _rfqService      = rfqService;
 }
Example #13
0
 public RfqServiceGateway(IRfqService rfqService, IRouter <RfqScreen> router)
 {
     _rfqService = rfqService;
     _router     = router;
 }