public Mapper_LedgerBookDto_LedgerBook( [NotNull] IBudgetBucketRepository bucketRepo, [NotNull] IAccountTypeRepository accountTypeRepo, [NotNull] ILedgerBucketFactory bucketFactory, [NotNull] ILedgerTransactionFactory transactionFactory, [NotNull] IReconciliationBuilder reconciliationBuilder) { if (bucketRepo == null) throw new ArgumentNullException(nameof(bucketRepo)); if (accountTypeRepo == null) throw new ArgumentNullException(nameof(accountTypeRepo)); if (bucketFactory == null) throw new ArgumentNullException(nameof(bucketFactory)); if (transactionFactory == null) throw new ArgumentNullException(nameof(transactionFactory)); if (reconciliationBuilder == null) throw new ArgumentNullException(nameof(reconciliationBuilder)); this.bucketRepo = bucketRepo; this.accountTypeRepo = accountTypeRepo; this.bucketFactory = bucketFactory; this.transactionFactory = transactionFactory; this.reconciliationBuilder = reconciliationBuilder; }
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; }
public Mapper_LedgerBucketDto_LedgerBucket([NotNull] IBudgetBucketRepository bucketRepo, [NotNull] IAccountTypeRepository accountTypeRepo, [NotNull] ILedgerBucketFactory bucketFactory) { if (bucketRepo == null) { throw new ArgumentNullException(nameof(bucketRepo)); } if (accountTypeRepo == null) { throw new ArgumentNullException(nameof(accountTypeRepo)); } if (bucketFactory == null) { throw new ArgumentNullException(nameof(bucketFactory)); } this.bucketRepo = bucketRepo; this.accountTypeRepo = accountTypeRepo; this.bucketFactory = bucketFactory; }
public Mapper_LedgerEntryDto_LedgerEntry( [NotNull] ILedgerBucketFactory bucketFactory, [NotNull] ILedgerTransactionFactory transactionFactory, [NotNull] IAccountTypeRepository accountTypeRepo) { if (bucketFactory == null) throw new ArgumentNullException(nameof(bucketFactory)); if (transactionFactory == null) throw new ArgumentNullException(nameof(transactionFactory)); if (accountTypeRepo == null) throw new ArgumentNullException(nameof(accountTypeRepo)); this.bucketFactory = bucketFactory; this.transactionFactory = transactionFactory; this.accountTypeRepo = accountTypeRepo; }
public Mapper_LedgerBucketDto_LedgerBucket([NotNull] IBudgetBucketRepository bucketRepo, [NotNull] IAccountTypeRepository accountTypeRepo, [NotNull] ILedgerBucketFactory bucketFactory) { if (bucketRepo == null) throw new ArgumentNullException(nameof(bucketRepo)); if (accountTypeRepo == null) throw new ArgumentNullException(nameof(accountTypeRepo)); if (bucketFactory == null) throw new ArgumentNullException(nameof(bucketFactory)); this.bucketRepo = bucketRepo; this.accountTypeRepo = accountTypeRepo; this.bucketFactory = bucketFactory; }