Exemple #1
0
 public static StockManager GetInstance()
 {
     if ( _instance == null )
     {
         _instance = new StockManager();
         _instance.Init();
         SyncManager.GetInstance().RegisterLastVersion((int)AppEnum.Sync.Stock);
     }
     return _instance;
 }
Exemple #2
0
 public static StockManager GetInstance()
 {
     if (_instance == null)
     {
         _instance = new StockManager();
         _instance.Init();
         SyncManager.GetInstance().RegisterLastVersion((int)AppEnum.Sync.Stock);
     }
     return(_instance);
 }