Пример #1
0
 public PerodicExchangeRateService(IExchangeRateRepository exchangeRateRepository, IConfigurationProvider configurationProvider, int slots = 6)
 {
     this._exchangeRateRepository = exchangeRateRepository;
     this._configurationProvider  = configurationProvider;
     _numberOfSlots = slots;
     IntializeSettings();
 }
Пример #2
0
 public PaymentManager(IInvoiceRepository invoices, IExchangeRateRepository exchangeRates, IPaymentRepository payments, ISettingProvider settingProvider)
 {
     this.PayementRepository     = payments;
     this.InvoiceRepository      = invoices;
     this.ExchangeRateRepository = exchangeRates;
     SettingProvider             = settingProvider;
 }
Пример #3
0
 public ExchangeRateApiController(IUnitOfWork unitOfWork,
                                  IExchangeRateRepository exchangeRateRepository,
                                  ILogger logger,
                                  ISessionService sessionService)
     : base(logger, unitOfWork, sessionService)
 {
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #4
0
 public ImportApp(IProjectRepository projectRepository, IOrderRepository orderRepository,
                  IIncomeRepository incomeRepository, IExchangeRateRepository exchangeRateRepository)
 {
     _projectRepository      = projectRepository;
     _orderRepository        = orderRepository;
     _incomeRepository       = incomeRepository;
     _exchangeRateRepository = exchangeRateRepository;
 }
        public ExchangeRateController(IExchangeRateRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.ExchangeRateRepository = repository;
        }
 public CurrencyExchangeViewModel(ICurrencyService currencyService, IExchangeRateRepository exchangeRateRepository)
 {
     this.currencyService        = currencyService;
     this.exchangeRateRepository = exchangeRateRepository;
     AddNewCurrencyPairCommand   = GetCommand(AddNewCurrencyPair);
     RefreshRatesCommand         = GetAsyncCommand(async() => await RefreshRates());
     IndeterminateLoading        = true;
     SubscribeToEvent <CurrencyPairDeletedMessage>(msg => RemoveCurrencyPair(msg.CurrencyPair));
 }
        public ExchangeRateController(IExchangeRateRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.ExchangeRateRepository = repository;
        }
Пример #8
0
 public CurrencyPairViewModel(ExchangeRate exchangeRate, Trip trip,
                              IExchangeRateRepository exchangeRateRepository, ICurrencyService currencyService)
 {
     this.exchangeRate           = exchangeRate;
     this.trip                   = trip;
     this.exchangeRateRepository = exchangeRateRepository;
     this.currencyService        = currencyService;
     UpdateRateCommand           = GetAsyncCommand(UpdateRate);
     RemoveCurrencyPairCommand   = GetCommand(RemoveCurrencyPair);
 }
Пример #9
0
 public BalanceImportService(
     IBalanceRepository balanceRepository,
     IAssetRepository assetRepository,
     IExchangeRateRepository exchangeRateRepository,
     IUnitOfWork unitOfWork)
 {
     _balanceRepository      = balanceRepository;
     _assetRepository        = assetRepository;
     _exchangeRateRepository = exchangeRateRepository;
     _unitOfWork             = unitOfWork;
 }
Пример #10
0
 public ExchangeRateService(
     IExchangeRateExternalService exchangeRateExternalService,
     IExchangeRateRepository exchangeRateRepository,
     ICurrencyRepository currencyRepository,
     IUserCurrencyRepository userCurrencyRepository,
     IUnitOfWork unitOfWork)
 {
     _exchangeRateExternalService = exchangeRateExternalService;
     _exchangeRateRepository      = exchangeRateRepository;
     _currencyRepository          = currencyRepository;
     _userCurrencyRepository      = userCurrencyRepository;
     _unitOfWork = unitOfWork;
 }
Пример #11
0
        public ExchangeRateController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.ExchangeRateRepository = new MixERP.Net.Schemas.Core.Data.ExchangeRate
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
Пример #12
0
 public MessageParserServices(IWeatherRepository weatherRepository,
                              IExchangeRateRepository exchangeRateRepository,
                              ITelegramRepository telegramRepository,
                              IChatBotRepository chatBotRepository,
                              IReviewRepository reviewRepository,
                              ICryptoRepository cryptoRepository)
 {
     _weatherRepository      = weatherRepository;
     _exchangeRateRepository = exchangeRateRepository;
     _telegramRepository     = telegramRepository;
     _chatBotRepository      = chatBotRepository;
     _reviewRepository       = reviewRepository;
     _cryptoRepository       = cryptoRepository;
 }
        public ExchangeRateController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.ExchangeRateRepository = new MixERP.Net.Schemas.Core.Data.ExchangeRate
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
 public NbsExchangeRateService(NbsResenjeClient exchangeRateClient,
                               IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateClient     = exchangeRateClient;
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #15
0
 public CurrencyCalculator(IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #16
0
 public CurrencyConverterFactory(IExchangeRateRepository exchangeRateRepository)
 {
     Argument.NotNull(exchangeRateRepository, "exchangeRateRepository");
     _exchangeRateRepository = exchangeRateRepository;
     _settings = new ExchangeRateSettings();
 }
Пример #17
0
        public MoneyConverter(IExchangeRateRepository exchangeRateRepository)
        {
            Argument.NotNull(exchangeRateRepository, "exchangeRateRepository");

            _converterFactory = new CurrencyConverterFactory(exchangeRateRepository);
        }
Пример #18
0
 public DealController(IExchangeRateRepository exchangeRateRepository, IQuoteRepository quoteRepository, ILoggerFactory loggerFactory)
 {
     this.exchangeRateRepository = exchangeRateRepository;
     this.quoteRepository = quoteRepository;
     this.logger = loggerFactory.CreateLogger("DealController");
 }
 public ExchangeRateService(IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #20
0
        public UnitOfWork(IContoRepository contoRepository,
                          IBusinessPartnerBankAccountRepository businessPartnerBankAccountRepository,
                          IBusinessPartnerLocationRepository businessPartnerLocationRepository,
                          IBusinessPartnerPhoneRepository businessPartnerPhoneRepository,
                          IBusinessPartnerRepository businessPartnerRepository,

                          ICalculationsRepository inputCalculationsRepository,
                          IPriceLevelingRepository priceLevelingRepository,
                          IPricingRepository pricingRepository,

                          ICashierRepository cashierRepository,

                          IClawbackFromBuyerRepository clawbackFromBuyerRepository,
                          IClawbackFromSupplierRepository clawbackFromSupplierRepository,

                          ILoanRepository loanRepository,

                          IWritingOffRepository writingOffRepository,

                          ICompanyBankAccountRepository companyBankAccountRepository,
                          ICompanyPhoneRepository companyPhoneRepository,
                          ICompanyRepository companyRepository,

                          IDeliveryNoteRepository deliveryNoteRepository,
                          IInternalDeliveryNoteRepository internalDeliveryNoteRepository,
                          IInputNoteRepository inputNoteRepository,

                          IPassportRepository passportRepository,

                          IExchangeRateRepository exchangeRateRepository,

                          IAuthenticationRepository authenticationRepository,
                          IUserRepository userRepository,

                          IAccountStatementRepository accountStatementRepository,
                          IBookOfOutputInvoicesRepository bookOfOutputInvoicesRepository,
                          ICreditNoteRepository creditNoteRepository,
                          IOutputInvoiceRepository outputInvoiceRepository,
                          IInputInvoiceRepository inputInvoiceRepository,
                          IOutputProInvoiceRepository outputProInvoiceRepository,



                          ICountryRepository countryRepository,
                          ICityRepository cityRepository,
                          IExpenseLocationRepository expenseLocationRepository,

                          IMunicipalityRepository municipalityRepository,

                          IOrganizationUnitRepository organizationUnitRepository,
                          ISectionRepository sectionRepository,

                          IProductCardRepository productCardRepository,
                          IProductGroupRepository productGroupRepository,
                          IProductSubGroupRepository productSubGroupRepository,
                          IProductRepository productRepository,
                          IProductSubItemRepository productSubItemRepository,
                          IAnimalTypeRepository animalTypeRepository,
                          IAnimalSubTypeRepository animalSubTypeRepository,
                          IUnitOfMeasurementRepository unitOfMeasurementRepository,
                          IPalletRepository palletRepository,

                          IProductTypeRepository productTypeRepository,
                          IProductVatPercentRepository productVatPercentRepository,

                          IKepuBookRepository kepuBookRepository,

                          IBoxRepository boxRepository,
                          IDepotRepository depotRepository,
                          IStockRepository stockRepository,
                          IWarehouseRepository warehouseRepository,
                          IWarehouseTypeRepository warehouseTypeRepository,
                          IWarehousePriceTypeRepository warehousePriceTypeRepository,

                          IManuelWarrantRepository manuelWarrantRepository,
                          IEmployeeRepository employeeRepository,
                          IEmployeeBankAccountRepository employeeBankAccountRepository,
                          IWorkHourRepository workHourRepository,
                          IWorkTypeRepository workTypeRepository,
                          IDeductionTypeRepository deductionTypeRepository,
                          IContributionRepository contributionRepository,
                          IDeductionRepository deductionRepository,

                          IMonthUtilityRepository monthUtilityRepository,

                          IWarrantTypeRepository warrantTypeRepository,

                          IAmortizationGroupRepository amortizationGroupRepository,
                          IFixedAssetRepository fixedAssetRepository,

                          IMigrationLogRepository migrationLogRepository,

                          IFinancialTemplateRepository financialTemplateRepository,

                          IMainFinancialBookRepository mainFinancialBookRepository,

                          IAdvanceOutputInvoiceRepository advanceOutputInvoiceRepository)
        {
            this.context = ApplicationDbContext.GetInstance();

            this.contoRepository = contoRepository;

            this.businessPartnerBankAccountRepository = businessPartnerBankAccountRepository;
            this.businessPartnerLocationRepository    = businessPartnerLocationRepository;
            this.businessPartnerPhoneRepository       = businessPartnerPhoneRepository;
            this.businessPartnerRepository            = businessPartnerRepository;

            this.inputCalculationsRepository = inputCalculationsRepository;
            this.priceLevelingRepository     = priceLevelingRepository;
            this.pricingRepository           = pricingRepository;

            this.cashierRepository = cashierRepository;

            this.clawbackFromBuyerRepository    = clawbackFromBuyerRepository;
            this.clawbackFromSupplierRepository = clawbackFromSupplierRepository;

            this.loanRepository = loanRepository;

            this.writingOffRepository = writingOffRepository;

            this.companyBankAccountRepository = companyBankAccountRepository;
            this.companyPhoneRepository       = companyPhoneRepository;
            this.companyRepository            = companyRepository;

            this.deliveryNoteRepository         = deliveryNoteRepository;
            this.internalDeliveryNoteRepository = internalDeliveryNoteRepository;
            this.inputNoteRepository            = inputNoteRepository;

            this.passportRepository = passportRepository;

            this.exchangeRateRepository = exchangeRateRepository;

            this.authenticationRepository = authenticationRepository;
            this.userRepository           = userRepository;

            this.accountStatementRepository     = accountStatementRepository;
            this.bookOfOutputInvoicesRepository = bookOfOutputInvoicesRepository;
            this.creditNoteRepository           = creditNoteRepository;
            this.outputInvoiceRepository        = outputInvoiceRepository;
            this.outputProInvoiceRepository     = outputProInvoiceRepository;


            this.inputInvoiceRepository         = inputInvoiceRepository;
            this.advanceOutputInvoiceRepository = advanceOutputInvoiceRepository;

            this.countryRepository         = countryRepository;
            this.cityRepository            = cityRepository;
            this.expenseLocationRepository = expenseLocationRepository;

            this.municipalityRepository = municipalityRepository;

            this.organizationUnitRepository = organizationUnitRepository;
            this.sectionRepository          = sectionRepository;

            this.productCardRepository       = productCardRepository;
            this.productGroupRepository      = productGroupRepository;
            this.productSubGroupRepository   = productSubGroupRepository;
            this.productRepository           = productRepository;
            this.productSubItemRepository    = productSubItemRepository;
            this.animalTypeRepository        = animalTypeRepository;
            this.animalSubTypeRepository     = animalSubTypeRepository;
            this.unitOfMeasurementRepository = unitOfMeasurementRepository;
            this.palletRepository            = palletRepository;

            this.productTypeRepository       = productTypeRepository;
            this.productVatPercentRepository = productVatPercentRepository;

            this.kepuBookRepository = kepuBookRepository;

            this.boxRepository                = boxRepository;
            this.depotRepository              = depotRepository;
            this.stockRepository              = stockRepository;
            this.warehouseRepository          = warehouseRepository;
            this.warehouseTypeRepository      = warehouseTypeRepository;
            this.warehousePriceTypeRepository = warehousePriceTypeRepository;

            this.manuelWarrantRepository = manuelWarrantRepository;

            this.employeeRepository            = employeeRepository;
            this.employeeBankAccountRepository = employeeBankAccountRepository;
            this.deductionTypeRepository       = deductionTypeRepository;
            this.workHourRepository            = workHourRepository;
            this.workTypeRepository            = workTypeRepository;

            this.contributionRepository = contributionRepository;
            this.deductionRepository    = deductionRepository;

            this.monthUtilityRepository = monthUtilityRepository;

            this.warrantTypeRepository = warrantTypeRepository;

            this.amortizationGroupRepository = amortizationGroupRepository;
            this.fixedAssetRepository        = fixedAssetRepository;

            this.migrationLogRepository = migrationLogRepository;

            this.financialTemplateRepository = financialTemplateRepository;

            this.mainFinancialBookRepository = mainFinancialBookRepository;
        }
Пример #21
0
 public ExchangeRateController(IExchangeRateRepository repository)
 {
     this._repository = repository;
 }
Пример #22
0
        public MoneyConverter(IExchangeRateRepository exchangeRateRepository)
        {
            Argument.NotNull(exchangeRateRepository, "exchangeRateRepository");

            _converterFactory = new CurrencyConverterFactory(exchangeRateRepository);
        }
Пример #23
0
 public ExchangeRatesController(IExchangeRateRepository exchangeRateRepository)
 {
     this.exchangeRateRepository = exchangeRateRepository;
 }
Пример #24
0
 public HomeController(IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateRepository = exchangeRateRepository;
 }
 public ExchangeRateApiController(IUnitOfWork unitOfWork)
 {
     _repository = unitOfWork.ExchangeRates;
     _unitOfWork = (IComplete)unitOfWork;
 }
 public ExchangeRateManager(IMapper mapper, IExchangeRateRepository exchangeRateRepository)
 {
     _mapper = mapper;
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #27
0
 public ExchangeRateFeatureContext() : base()
 {
     ExchangeRateRepository = Services.GetRequiredService <IExchangeRateRepository>();
 }
 public ExchangeRateApiIntegrationService(IExchangeRateRepository exchangeRateRepository,
                                          IExchangeRateProvider exchangeRateProvider)
 {
     this.exchangeRateRepository = exchangeRateRepository;
     this.exchangeRateProvider   = exchangeRateProvider;
 }
Пример #29
0
 public ExchangeRateService(IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateRepository = exchangeRateRepository ?? throw new ArgumentNullException(nameof(exchangeRateRepository));
 }
 public FetchDatabaseStep(IExchangeRateRepository exchangeRateRepository)
 {
     this.exchangeRateRepository = exchangeRateRepository;
 }
Пример #31
0
 public CurrencyConverterFactory(IExchangeRateRepository exchangeRateRepository)
 {
     Argument.NotNull(exchangeRateRepository, "exchangeRateRepository");
     _exchangeRateRepository = exchangeRateRepository;
     _settings = new ExchangeRateSettings();
 }
Пример #32
0
 public SupplierService(ISupplierRepository supplierRepository, IExchangeRateRepository exchangeRateRepository, IUnitOfWork unitOfWork) : base(unitOfWork)
 {
     _supplierRepository     = supplierRepository;
     _exchangeRateRepository = exchangeRateRepository;
 }
 public ExchangeRateSl(IExchangeRateRepository exchangeRateRepository, IHttpClientWrapper httpClient)
 {
     this.httpClient             = httpClient;
     this.exchangeRateRepository = exchangeRateRepository;
 }
 public OpenExchangeRateService(OpenExchangeRatesClient exchangeRateClient,
                                IExchangeRateRepository exchangeRateRepository)
 {
     _exchangeRateClient     = exchangeRateClient;
     _exchangeRateRepository = exchangeRateRepository;
 }
Пример #35
0
 public HomeController(IExchangeRateRepository exchangeRateRepository, ILoggerFactory logger)
 {
     this.exchangeRateRepository = exchangeRateRepository;
     this.logger = logger.CreateLogger("HomeController");
 }