Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document

This commit is contained in:
schnulller
2022-06-04 23:18:40 +02:00
parent 37b794ea05
commit 9712574e13
21 changed files with 1043 additions and 268 deletions

View File

@@ -2,9 +2,5 @@ namespace HaWeb.Settings;
using HaWeb.Settings.XMLRoots;
public static class General {
// Classes generated by parsing the XML:
public const string XMLFILEPATH = @"Hamann.xml";
public const bool NORMALIZEWHITESPACE = true;
public static (int, int) AVAILABLEYEARRANGE = (1751, 1788);
public static string[] AVAILABLEVOLUMES = { };
}

View File

@@ -1 +1,9 @@
// TODO
namespace HaWeb.Settings;
using HaDocument.Interfaces;
class HaDocumentOptions : IHaDocumentOptions {
public string HamannXMLFilePath { get; set; } = @"Hamann.xml";
public string[] AvailableVolumes { get; set; } = { };
public bool NormalizeWhitespace { get; set; } = true;
public (int, int) AvailableYearRange {get; set; } = (1751, 1788);
}