Moved unused code into Achive

This commit is contained in:
Simon Martens
2022-11-25 19:15:23 +01:00
parent 5cc684550b
commit 02abfb111a
239 changed files with 51948 additions and 1673 deletions

View File

@@ -0,0 +1,16 @@
using HaXMLReader.EvArgs;
using System.Linq;
namespace HaDocument {
static class Helpers {
internal static string GetElementString(Tag tag) {
var res = "<" + (tag.EndTag ? "/" : "") + tag.Name.ToLower();
if (!tag.EndTag && tag.Values != null && tag.Values.Any()) {
foreach (var kvp in tag.Values) {
res += " " + kvp.Key.ToLower() + "=\"" + kvp.Value.ToLower() + "\"";
}
}
return res + (tag.IsEmpty ? "/" : "") + ">";
}
}
}

View File

@@ -0,0 +1,10 @@
using System;
using HaDocument.Interfaces;
namespace HaDocument.Logic {
static class SettingsValidator {
internal static void Validate(IHaDocumentOptions settings) {
}
}
}