Esempio n. 1
0
 public static AppUnderTest CreateInstance()
 {
     if(_instance == null)
     {
         lock(lockHelper)
         {
             if(_instance == null)
                 _instance = new AppUnderTest();
         }
     }
     return _instance;
 }
Esempio n. 2
0
 public static AppUnderTest CreateInstance()
 {
     if (_instance == null)
     {
         lock (lockHelper)
         {
             if (_instance == null)
             {
                 _instance = new AppUnderTest();
             }
         }
     }
     return(_instance);
 }