Пример #1
0
 public static AccountTypeKeys Instance()
 {
     if (_instance == null)
     {
         lock (lockObject)
         {
             if (_instance == null)
             {
                 _instance = new AccountTypeKeys();
             }
         }
     }
     return _instance;
 }
Пример #2
0
 public static AccountTypeKeys Instance()
 {
     if (_instance == null)
     {
         lock (lockObject)
         {
             if (_instance == null)
             {
                 _instance = new AccountTypeKeys();
             }
         }
     }
     return(_instance);
 }