public void create_master_commission_service() { ICommissionFactory factory = new CommissionFactory(); ICommissionService commissionService = factory.Create("MASTER"); Assert.IsType <MasterCommissionService>(commissionService); }
public CartableService(IUnitOfWork unitOfWork, IPostPersonRepository postPersonRepository, IFieldofStudyRepository fieldofStudyRepository, ICartableRepository cartableRepository, RequestRepository requestRepository, IVoteRepository voteRepository, ISignerRepository signerRepository, ISettingsRepository settingsRepository, IPersonelRepository personelRepository, ICommissionRepository commissionRepository, ICouncilRepository councilRepository, IRequestService requestService, IUserPostRepository userPostRepository, IPostRepository postRepository, ICommissionService commissionService, ICouncilService councilService) { _unitOfWork = unitOfWork; _postPersonRepository = postPersonRepository; _fieldofStudyRepository = fieldofStudyRepository; _cartableRepository = cartableRepository; _requestRepository = requestRepository; _signerRepository = signerRepository; _voteRepository = voteRepository; _settingsRepository = settingsRepository; _personelRepository = personelRepository; _commissionRepository = commissionRepository; _councilRepository = councilRepository; _requestService = requestService; _userPostRepository = userPostRepository; _postRepository = postRepository; _commissionService = commissionService; _councilService = councilService; }
public void create_visa_commission_service() { ICommissionFactory factory = new CommissionFactory(); ICommissionService commissionService = factory.Create("VISA"); Assert.IsType <VisaCommissionService>(commissionService); }
public OvernightSwapService( IOvernightSwapCache overnightSwapCache, IAccountAssetsCacheService accountAssetsCacheService, IAccountsCacheService accountsCacheService, ICommissionService commissionService, IOvernightSwapStateRepository overnightSwapStateRepository, IOvernightSwapHistoryRepository overnightSwapHistoryRepository, IOrderReader orderReader, IThreadSwitcher threadSwitcher, IDateService dateService, AccountManager accountManager, MarginSettings marginSettings, ILog log) { _overnightSwapCache = overnightSwapCache; _accountAssetsCacheService = accountAssetsCacheService; _accountsCacheService = accountsCacheService; _commissionService = commissionService; _overnightSwapStateRepository = overnightSwapStateRepository; _overnightSwapHistoryRepository = overnightSwapHistoryRepository; _orderReader = orderReader; _threadSwitcher = threadSwitcher; _dateService = dateService; _accountManager = accountManager; _marginSettings = marginSettings; _log = log; }
public ReportController(IReportsService reportsService, IRequestService requestService, ICommissionService commissionService, ICouncilService councilService) { _reportsService = reportsService; _requestService = requestService; _commissionService = commissionService; _councilService = councilService; }
private void SetMembersAndCommission(ICommissionService commissionService) { var members = commissionService.GetMembersOfCommission(_commissionId); _commission = commissionService.GetCommissionById(_commissionId); lbxMembers.DataSource = members; }
public SysTransactionService(IUnitOfWork uow, UserManager <User> userManager, ICommissionService service, IClientService clientService, ICountryService countryService) { Database = uow; _userManager = userManager; _commissionService = service; _clientService = clientService; _countryService = countryService; }
public void SetUp() { RegisterDependencies(); _accountAssetsManager = Container.Resolve <AccountAssetsManager>(); _swapService = Container.Resolve <ICommissionService>(); _accountAssetsRepository = Container.Resolve <IAccountAssetPairsRepository>(); _bestPriceConsumer = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >(); }
public void SetUp() { RegisterDependencies(); _accountAssetsManager = Container.Resolve <TradingInstrumentsManager>(); _swapService = Container.Resolve <ICommissionService>(); _tradingInstruments = Container.Resolve <ITradingInstrumentsApi>(); _bestPriceConsumer = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >(); }
public PhysicalProductPaymentProcessingService( IPackagingSlipService packagingSlipService, ICommissionService commissionService, IAgentService agentService, ILocalizedMessageProvider localizedMessageProvider) : base(commissionService, agentService) { this.packagingSlipService = packagingSlipService; this.localizedMessageProvider = localizedMessageProvider; }
public PayoutController( IOrganizationPerson person, IDisperseFundsService payoutService, ICommissionService commissionService, IServiceProvider serviceProvider) { _person = person; _payoutService = payoutService; _commissionService = commissionService; }
public CartableController(ICartableService cartableService, ITextDefaultService textDefaultService, ISettingService settingService, IRequestService requestService, IAttachmentService attachmentService, ICommissionService comissionService) { _cartableService = cartableService; _textDefaultService = textDefaultService; _settingService = settingService; _requestService = requestService; _attachmentService = attachmentService; _comissionService = comissionService; }
public CommissionController(IUtilityService utilityService, IUserCredentialService usercredentialservice, IModuleService iIModuleService, IEmployeeMasterService EmployeeService, ICommissionService CommissionService, IUnitService UnitService, ICommissionProductService CommissionProductService, IItemSubCategoryService ItemSubCategoryService, IItemService ItemService) { this._utilityService = utilityService; this._IUserCredentialService = usercredentialservice; this._iIModuleService = iIModuleService; this._EmployeeService = EmployeeService; this._CommissionService = CommissionService; this._CommissionProductService = CommissionProductService; this._UnitService = UnitService; this._ItemSubCategoryService = ItemSubCategoryService; this._ItemService = ItemService; }
public CommissionController(IUnitOfWork unitOfWork, ICommissionService comissionService, IBaseInfoComissionCouncilService baseInfoComissionCouncilService, IStructureManageService structureManageService, ICartableService cartableService, IAttachmentService attachmentService, IPersonManagementService personManagementService) { _comissionService = comissionService; _baseInfoComissionCouncilService = baseInfoComissionCouncilService; _structureManageService = structureManageService; _cartableService = cartableService; _attachmentService = attachmentService; _personManagementService = personManagementService; _unitOfWork = unitOfWork; }
public CommissionService(ICommissionService Provider = null) { if (Provider != null) { this.Provider = Provider; } else { var defaultApiSettings = new DefaultApiSettings(); if(defaultApiSettings.IsEnterprise) this.Provider = new SqlCommissionProvider(defaultApiSettings); else this.Provider = new ODataCommissionProvider(defaultApiSettings); } }
public CommissionPaymentController() { var dbfactory = new DatabaseFactory(); _salesOrderService = new SalesOrderService(new SalesOrderRepository(dbfactory), new SalesOrderDetailRepository(dbfactory), new SalesOrderApprovalRepository(dbfactory), new NotificationRepository(dbfactory), new NotificationDetailRepository(dbfactory), new UnitOfWork(dbfactory)); _CommissionPackageService = new CommissionPackageService(new CommissionPackageRepository(dbfactory), new UnitOfWork(dbfactory)); _CommissionService = new CommissionService(new CommissionRepository(dbfactory), new UnitOfWork(dbfactory)); }
public TradingEngine( IEventChannel <MarginCallEventArgs> marginCallEventChannel, IEventChannel <StopOutEventArgs> stopoutEventChannel, IEventChannel <OrderPlacedEventArgs> orderPlacedEventChannel, IEventChannel <OrderClosedEventArgs> orderClosedEventChannel, IEventChannel <OrderCancelledEventArgs> orderCancelledEventChannel, IEventChannel <OrderLimitsChangedEventArgs> orderLimitsChangesEventChannel, IEventChannel <OrderClosingEventArgs> orderClosingEventChannel, IEventChannel <OrderActivatedEventArgs> orderActivatedEventChannel, IEventChannel <OrderRejectedEventArgs> orderRejectedEventChannel, IValidateOrderService validateOrderService, IQuoteCacheService quoteCashService, IAccountUpdateService accountUpdateService, ICommissionService swapCommissionService, IEquivalentPricesService equivalentPricesService, IAccountsCacheService accountsCacheService, OrdersCache ordersCache, IAccountAssetsCacheService accountAssetsCacheService, IMatchingEngineRouter meRouter, IThreadSwitcher threadSwitcher, IContextFactory contextFactory, IAssetPairDayOffService assetPairDayOffService, ILog log) { _marginCallEventChannel = marginCallEventChannel; _stopoutEventChannel = stopoutEventChannel; _orderPlacedEventChannel = orderPlacedEventChannel; _orderClosedEventChannel = orderClosedEventChannel; _orderCancelledEventChannel = orderCancelledEventChannel; _orderActivatedEventChannel = orderActivatedEventChannel; _orderClosingEventChannel = orderClosingEventChannel; _orderLimitsChangesEventChannel = orderLimitsChangesEventChannel; _orderRejectedEventChannel = orderRejectedEventChannel; _quoteCashService = quoteCashService; _accountUpdateService = accountUpdateService; _swapCommissionService = swapCommissionService; _validateOrderService = validateOrderService; _equivalentPricesService = equivalentPricesService; _accountsCacheService = accountsCacheService; _ordersCache = ordersCache; _accountAssetsCacheService = accountAssetsCacheService; _meRouter = meRouter; _threadSwitcher = threadSwitcher; _contextFactory = contextFactory; _assetPairDayOffService = assetPairDayOffService; _log = log; }
public CommissionErrorService( DataContext context, ICommissionService commissionService, IClientService clientService, ICommissionSplitService commissionSplitService, IPolicyService policyService, ICommissionSplitRulePolicyService commissionSplitRulePolicyService, IAuditService auditService) { _context = context; _commissionService = commissionService; _clientService = clientService; _commissionSplitService = commissionSplitService; _policyService = policyService; _commissionSplitRulePolicyService = commissionSplitRulePolicyService; _auditService = auditService; }
public CommissionService(ICommissionService Provider = null) { if (Provider != null) { this.Provider = Provider; } else { var defaultApiSettings = new DefaultApiSettings(); if (defaultApiSettings.IsEnterprise) { this.Provider = new SqlCommissionProvider(defaultApiSettings); } else { this.Provider = new ODataCommissionProvider(defaultApiSettings); } } }
public ReplicaCompanyController(ICompanyService CompanyService, ICompanyBankDetailsService CompanyBankDetailsService, IUserCredentialService UserCredentialService, IModuleService ModuleService, IBankService BankService, IClientMasterService ClientMasterService, IClientBankDetailService ClientBankDetailService, IDesignService DesignService, IEmployeeMasterService EmployeeMasterService, IGodownService GodownService, IGodownAddressService GodownAddressService, IItemCategoryService ItemCategoryService, IItemSubCategoryService ItemSubCategoryService, IItemService ItemService, IJobWorkerService JobWorkerService, IJobWorkItemService JobWorkItemService, IJobWorkTypeService JobWorkTypeService, ISalesIncentiveService SalesIncentiveService, IShopService ShopService, ITypeOfMaterialService TypeOfMaterialService, IUnitService UnitService, ISuppliersMasterService SuppliersMasterService, ISupplierBankDetailService SupplierBankDetailService, ITransportService TransportService, ITransportBankDetailService TransportBankDetailService, INonInventoryItemService NonInventoryItemService, IUserService UserService, IEmployeesCompanyService EmployeesCompanyService, ICommissionService CommissionService, IBarcodeNumberService BarcodeNumberService, IBrandMasterService BrandMasterService, IDesignationMasterService DesignationMasterService) { this._CompanyService = CompanyService; this._CompanyBankDetailsService = CompanyBankDetailsService; this._UserCredentialService = UserCredentialService; this._ModuleService = ModuleService; this._BankService = BankService; this._ClientMasterService = ClientMasterService; this._ClientBankDetailService = ClientBankDetailService; this._DesignService = DesignService; this._EmployeeMasterService = EmployeeMasterService; this._GodownService = GodownService; this._GodownAddressService = GodownAddressService; this._ItemCategoryService = ItemCategoryService; this._ItemSubCategoryService = ItemSubCategoryService; this._ItemService = ItemService; this._NonInventoryItemService = NonInventoryItemService; this._BarcodeNumberService = BarcodeNumberService; this._JobWorkerService = JobWorkerService; this._JobWorkItemService = JobWorkItemService; this._JobWorkTypeService = JobWorkTypeService; this._SalesIncentiveService = SalesIncentiveService; this._ShopService = ShopService; this._TypeOfMaterialService = TypeOfMaterialService; this._UnitService = UnitService; this._SuppliersMasterService = SuppliersMasterService; this._SupplierBankDetailService = SupplierBankDetailService; this._TransportService = TransportService; this._TransportBankDetailService = TransportBankDetailService; this._UserService = UserService; this._EmployeesCompanyService = EmployeesCompanyService; this._CommissionService = CommissionService; this._BrandMasterService = BrandMasterService; this._DesignationMasterService = DesignationMasterService; }
public CustomerController(IOrderService orderService, ICacheManager cacheManager, ICustomerAttributeService customerAttributeService, ICustomerService customerService, IShopppingCartService cartService, IFavoriteService favoriteService, ICustomerRewardService rewardService, IProductReviewService reviewService, IApplyPromoterService applyService, ISettingService settingService, ICouponService couponService, ISMSMessageService messageService, ILoanService loanService, IApplyCashService applyCashService, ICommissionService commissionServicer, IWishOrderService wishService, ISignLogService signService, IUnitOfWorkManager unitOfWorkManager) { this._orderService = orderService; this._cacheManager = cacheManager; this._customerAttributeService = customerAttributeService; this._cartService = cartService; this._customerService = customerService; this._messageService = messageService; this._favoriteService = favoriteService; this._reviewService = reviewService; this._rewardService = rewardService; this._settingService = settingService; this._couponService = couponService; this._applyService = applyService; this._loanService = loanService; this._applyCashService = applyCashService; this._commissionServicer = commissionServicer; this._wishService = wishService; this._signService = signService; this._unitOfWorkManager = unitOfWorkManager; }
public PhysicalProductPaymentFacade(IPackagingSlipService packagingSlipService, ICommissionService commissionService, IAgentService agentService) : base(commissionService, agentService) { this.packagingSlipService = packagingSlipService; }
public BasePaymentFacade(ICommissionService commissionService, IAgentService agentService) { this.commissionService = commissionService; this.agentService = agentService; }
public CommissionHelper() { _logic = new CommissionService(User.Login, User.Password); }
/// <summary> /// Initializes a new instance of the <see cref="CommissionsGrpcService"/> class. /// </summary> /// <param name="commissionService">The application service for interacting with commissions and records of sales.</param> /// <param name="mapper">The mapper to translate between different object types.</param> public CommissionsGrpcService(ICommissionService commissionService, IMapper mapper) { this.commissionService = commissionService; this.mapper = mapper; }
public CommissionsController(ICommissionService commissionService, IAuthenticationService authenticationService) { CommissionService = commissionService; AuthenticationService = authenticationService; }
public BookOrder(IPackingService packingService, ICommissionService commissionService) : base(packingService, commissionService) { _packingService = packingService; }
public CommissionController(IConfiguration configuration, BancoVVBAContext bancoVVBAContext) { _comService = new CommissionService(configuration, bancoVVBAContext); }
/// <summary> /// 初始化佣金控制器 /// </summary> /// <param name="service">佣金服务</param> public CommissionController(ICommissionService service) : base(service) { CommissionService = service; }
public BookPaymentFacade(IPackagingSlipService packagingSlipService, ICommissionService commissionService, IAgentService agentService) : base(commissionService, agentService) { this.packagingSlipService = packagingSlipService; }
public BasePaymentProcessingService(ICommissionService commissionService, IAgentService agentService) { this.commissionService = commissionService; this.agentService = agentService; }
public PhysicalItemOrder(IPackingService packingService, ICommissionService commissionService) { _packingService = packingService; _commissionService = commissionService; }