public static List <EsquemaCor> GetListaEsquemaCor() { if (_listaEsquemaCor != null) { return(_listaEsquemaCor); } var arquivo = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "esquemacor.json"); _listaEsquemaCor = JsonExtensions.GetListaFromJson <EsquemaCor>(arquivo, _esquemaPadrao.Replace("'", "\"")); return(_listaEsquemaCor); }
public static List <ConnectionConfig> GetListaConnectionConfig() { if (_listaConnectionConfig != null) { return(_listaConnectionConfig); } var arquivo = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "connectionconfig.json"); _listaConnectionConfig = JsonExtensions.GetListaFromJson <ConnectionConfig>(arquivo, _connectionConfigPadrao.Replace("'", "\"")); return(_listaConnectionConfig); }