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