mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
A lot of stuff related to parsing; index page input validation
This commit is contained in:
@@ -31,8 +31,9 @@ namespace HaDocument.Models {
|
||||
Reference = reference;
|
||||
}
|
||||
|
||||
public static Editreason? FromXElement(XElement element) {
|
||||
throw new NotImplementedException("We need two Elements for editreason");
|
||||
public static Editreason? FromXElement(XElement edit, XElement editreason) {
|
||||
if (edit == null || editreason == null || !edit.HasAttributes || !editreason.HasAttributes) return null;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user