Пример #1
0
 /// <summary>
 /// Resets the singleton class and flushes all the cached
 /// values so they will be re-cached the next time they are requested
 /// </summary>
 public static void Reset()
 {
     lock (_syncObj)
     {
         _uniqueInstance = null;
     }
 }
Пример #2
0
 /// <summary>
 /// Resets the singleton class and flushes all the cached 
 /// values so they will be re-cached the next time they are requested
 /// </summary>
 public static void Reset()
 {
     lock (_syncObj)
     {
         _uniqueInstance = null;
     }
 }