public static ProviderContext GetInstance()
 {
     if (_instance == null)
     {
         lock (_syncLock)
         {
             if (_instance == null)
             {
                 _instance = new ProviderContext();
             }
         }
     }
     return _instance;
 }
 public static ProviderContext GetInstance()
 {
     if (_instance == null)
     {
         lock (_syncLock)
         {
             if (_instance == null)
             {
                 _instance = new ProviderContext();
             }
         }
     }
     return(_instance);
 }