Exemplo n.º 1
0
 /// <summary>
 /// Destroys the singleton instance of this class.
 /// </summary>
 public static void DestroyInstance()
 {
     Instance?.Dispose();
     Instance = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates the singleton instance of this class.
 /// </summary>
 public static void CreateInstance()
 {
     Instance?.Dispose();
     Instance = new BackgroundConduitUpdater();
 }