Esempio n. 1
0
 public static ActivityItemKeys Instance()
 {
     if (_instance == null)
     {
         lock (lockObject)
         {
             if (_instance == null)
             {
                 _instance = new ActivityItemKeys();
             }
         }
     }
     return _instance;
 }
Esempio n. 2
0
 public static ActivityItemKeys Instance()
 {
     if (_instance == null)
     {
         lock (lockObject)
         {
             if (_instance == null)
             {
                 _instance = new ActivityItemKeys();
             }
         }
     }
     return(_instance);
 }