示例#1
0
 public Facade(IUnitStore unitStore, ICustomerStore customerStore, ITenancyStore tenancyStore, IDateService dateService)
 {
     this.unitStore     = unitStore ?? throw new ArgumentNullException(nameof(unitStore));
     this.customerStore = customerStore ?? throw new ArgumentNullException(nameof(customerStore));
     this.tenancyStore  = tenancyStore ?? throw new ArgumentNullException(nameof(tenancyStore));
     this.dateService   = dateService ?? throw new ArgumentNullException(nameof(dateService));
 }