change ISchemeParser ParseScheme reportErrors param default to false

This commit is contained in:
Harry Pierson 2019-02-27 08:32:45 -08:00
parent 7e5c034b7f
commit 4a30b1868b
4 changed files with 4 additions and 4 deletions

View file

@ -9,6 +9,6 @@ namespace ColorTool
{
string Name { get; }
ColorScheme ParseScheme(string schemeName, bool reportErrors = true);
ColorScheme ParseScheme(string schemeName, bool reportErrors = false);
}
}

View file

@ -76,7 +76,7 @@ namespace ColorTool
return Scheme.GetSearchPaths(schemeName, ".ini").FirstOrDefault(File.Exists);
}
public ColorScheme ParseScheme(string schemeName, bool reportErrors = true)
public ColorScheme ParseScheme(string schemeName, bool reportErrors = false)
{
bool success = true;

View file

@ -60,7 +60,7 @@ namespace ColorTool
return null;
}
public ColorScheme ParseScheme(string schemeName, bool reportErrors = true)
public ColorScheme ParseScheme(string schemeName, bool reportErrors = false)
{
XmlDocument xmlDoc = loadJsonFile(schemeName);
if (xmlDoc == null) return null;

View file

@ -99,7 +99,7 @@ namespace ColorTool
}
public ColorScheme ParseScheme(string schemeName, bool reportErrors = true)
public ColorScheme ParseScheme(string schemeName, bool reportErrors = false)
{
XmlDocument xmlDoc = loadXmlScheme(schemeName); // Create an XML document object
if (xmlDoc == null) return null;