change ISchemeParser ParseScheme reportErrors param default to false
This commit is contained in:
parent
7e5c034b7f
commit
4a30b1868b
|
@ -9,6 +9,6 @@ namespace ColorTool
|
|||
{
|
||||
string Name { get; }
|
||||
|
||||
ColorScheme ParseScheme(string schemeName, bool reportErrors = true);
|
||||
ColorScheme ParseScheme(string schemeName, bool reportErrors = false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue