コード例 #1
0
ファイル: BillingService.cs プロジェクト: lurienanofab/lnf
 public BillingService(
     IProcessRepository process,
     IApportionmentRepository apportionment,
     ISubsidyRepository accountSubsidy,
     IReportRepository report,
     IToolBillingRepository tool,
     IRoomBillingRepository room,
     IStoreBillingRepository store,
     IMiscBillingRepository misc,
     IBillingTypeRepository billingType,
     IRoomDataRepository readRoomData,
     IToolDataRepository readToolData,
     IStoreDataRepository readStoreData,
     IMiscDataRepository readMiscData,
     IOrgRechargeRepository orgRecharge,
     IExternalInvoiceRepository externalInvoice)
 {
     Process         = process;
     Apportionment   = apportionment;
     AccountSubsidy  = accountSubsidy;
     Report          = report;
     Tool            = tool;
     Room            = room;
     Store           = store;
     Misc            = misc;
     BillingType     = billingType;
     RoomData        = readRoomData;
     ToolData        = readToolData;
     StoreData       = readStoreData;
     MiscData        = readMiscData;
     OrgRecharge     = orgRecharge;
     ExternalInvoice = externalInvoice;
 }
コード例 #2
0
 internal BillingService(IRestClient rc)
 {
     Process         = new ProcessRepository(rc);
     Apportionment   = new ApportionmentRepository(rc);
     AccountSubsidy  = new AccountSubsidyRepository(rc);
     Report          = new ReportRepository(rc);
     Tool            = new ToolBillingRepository(rc);
     Room            = new RoomBillingRepository(rc);
     Store           = new StoreBillingRepository(rc);
     Misc            = new MiscBillingRepository(rc);
     BillingType     = new BillingTypeRepository(rc);
     RoomData        = new RoomDataRepository(rc);
     ToolData        = new ToolDataRepository(rc);
     StoreData       = new StoreDataRepository(rc);
     MiscData        = new MiscDataRepository(rc);
     OrgRecharge     = new OrgRechargeRepository(rc);
     ExternalInvoice = new ExternalInvoiceRepository(rc);
 }