Added marginal search. Some refactoring

This commit is contained in:
Simon Martens
2022-11-11 02:15:45 +01:00
parent 3327155eb5
commit 8c26cb44d0
24 changed files with 361 additions and 186 deletions

View File

@@ -70,7 +70,7 @@ public class XMLRootDocument {
}
private string _removeInvalidChars(string? s) {
if (String.IsNullOrWhiteSpace(s)) return "";
if (String.IsNullOrWhiteSpace(s)) return string.Empty;
foreach (var c in Path.GetInvalidFileNameChars()) {
s = s.Replace(c, '-');
}