コード例 #1
0
 public SupplyFacadeSimple(ISupplierRepository supplierRepository, IPartRepository partRepository,
                           ISupplyFactory factory, IOrderingRiskEvaluator evaluator)
 {
     this.supplierRepository = supplierRepository;
     this.partRepository     = partRepository;
     this.factory            = factory;
     this.evaluator          = evaluator;
 }
コード例 #2
0
 public SupplyFacadeWithNotification(ISupplierRepository supplierRepository, IPartRepository partRepository,
                                     ISupplyFactory factory, IOrderingRiskEvaluator evaluator, ISendMail mailSender)
 {
     this.supplierRepository = supplierRepository;
     this.partRepository     = partRepository;
     this.factory            = factory;
     this.evaluator          = evaluator;
     this.mailSender         = mailSender;
 }