public ContextDatаGame() { Downloader downloader = new Downloader("GameData.csv"); Thread.Sleep(250); Singleton = DataSingleton.getInstance(); }
public static DataSingleton getInstance() { if (instance == null) { lock (syncRoot) { if (instance == null) { instance = new DataSingleton(); } } } return(instance); }
public ContextCurrentForm() { Singleton = DataSingleton.getInstance(); }
public ContextDatabaseForm() { Singleton = DataSingleton.getInstance(); connection = new SQLiteConnection(ConnectionString); }
public ContextPhysicalPC() { Singleton = DataSingleton.getInstance(); connection = new SQLiteConnection(ConnectionString); }
public ContextComputerXML() { Singleton = DataSingleton.getInstance(); connection = new SQLiteConnection(ConnectionString); }
public DataController(IStrategyData strategy) { Singleton = DataSingleton.getInstance(); Strategy = strategy; }