/// <summary>
 /// Static constructor.  Called only once before the first time you use the static properties/methods.
 /// </summary>
 static TaskGCExceptionHandler()
 {
     lock (_lockStatic)
     {
         //	If the instance version of this class hasn't been instantiated yet, then do so
         if (_instance == null)
         {
             _instance = new TaskGCExceptionHandler();
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Static constructor.  Called only once before the first time you use the static properties/methods.
 /// </summary>
 static TaskGCExceptionHandler()
 {
     lock (_lockStatic)
     {
         //	If the instance version of this class hasn't been instantiated yet, then do so
         if (_instance == null)
         {
             _instance = new TaskGCExceptionHandler();
         }
     }
 }