Esempio n. 1
0
 public ApprovalRuleFactory(IApprovalRuleRepository approvalRuleRepository)
 {
     _approvalRuleRepository = approvalRuleRepository;
 }
 public ApprovalRuleDomainService(IApprovalRuleRepository approvalRuleRepository, ApprovalRuleFactory approvalRuleFactory)
 {
     _approvalRuleRepository = approvalRuleRepository ?? throw new ArgumentNullException(nameof(approvalRuleRepository));
     _approvalRuleFactory    = approvalRuleFactory ?? throw new ArgumentNullException(nameof(approvalRuleFactory));
 }
 public ApprovalRuleDomainService(IApprovalRuleRepository approvalRuleRepository)
 {
     _approvalRuleRepository = approvalRuleRepository;
 }