Example #1
0
 public static ProfitFormulaBus GetInstance()
 {
     if (_Instance == null)
     {
         lock (typeof(ProfitFormulaBus))
         {
             if (_Instance == null)
             {
                 _Instance = new ProfitFormulaBus();
             }
         }
     }
     return(_Instance);
 }
 public static ProfitFormulaBus GetInstance()
 {
     if (_Instance == null)
     {
         lock (typeof(ProfitFormulaBus))
         {
             if (_Instance == null)
             {
                 _Instance = new ProfitFormulaBus();
             }
         }
     }
     return _Instance;
 }