Exemple #1
0
 public static GlobalDataDash GetInstance()
 {
     if (firstInstance == null)
     {
         firstInstance = new GlobalDataDash();
     }
     return(firstInstance);
 }
Exemple #2
0
 /// <summary>
 /// Resets all data in object, including boolean state values
 /// </summary>
 public void ResetData()
 {
     firstInstance = new GlobalDataDash();
 }