BudgetAnalyser.Engine.Ledger.Data.Mapper_LedgerEntryLineDto_LedgerEntryLine.Mapper_LedgerEntryLineDto_LedgerEntryLine C# (CSharp) Method

Mapper_LedgerEntryLineDto_LedgerEntryLine() public method

public Mapper_LedgerEntryLineDto_LedgerEntryLine ( [ accountTypeRepo, [ bucketFactory, [ transactionFactory ) : System
accountTypeRepo [
bucketFactory [
transactionFactory [
return System
        public Mapper_LedgerEntryLineDto_LedgerEntryLine(
            [NotNull] IAccountTypeRepository accountTypeRepo,
            [NotNull] ILedgerBucketFactory bucketFactory,
            [NotNull] ILedgerTransactionFactory transactionFactory)
        {
            if (accountTypeRepo == null) throw new ArgumentNullException(nameof(accountTypeRepo));
            if (bucketFactory == null) throw new ArgumentNullException(nameof(bucketFactory));
            if (transactionFactory == null) throw new ArgumentNullException(nameof(transactionFactory));
            this.accountTypeRepo = accountTypeRepo;
            this.bucketFactory = bucketFactory;
            this.transactionFactory = transactionFactory;
        }