コード例 #1
0
 public static StockRepoService getBean()
 {
     if (stockRepoService == null)
     {
         stockRepoService = new StockRepoImpl();
     }
     return(stockRepoService);
 }
コード例 #2
0
ファイル: StockImpl.cs プロジェクト: Doxuancanh3103/qltv
 public StockImpl()
 {
     stockRepoService = StockRepoServiceBean.getBean();
     mediaService     = MediaServiceBean.getBean();
     conditionService = ConditionServiceBean.getBean();
 }