public static TotalTicker Instance() { if (uniqueInstance == null) { uniqueInstance = new TotalTicker(); } return(uniqueInstance); }
public AProvider(string fileConfigJson = "mappings.json") { try { totalTicker = TotalTicker.Instance(); var mappedSymbols = ConfigurationManager.GetJson(fileConfigJson); initializeMapping(mappedSymbols); } catch (Exception ex) { Console.WriteLine(ex.Message); Console.ReadKey(); } }