mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Added generic collections of objects
This commit is contained in:
@@ -17,8 +17,15 @@ public interface IXMLRoot {
|
||||
// Key: the key under which the element(s) will be files
|
||||
// xPath: the (absolute) XPath to the element(s)
|
||||
// KeyFunc: How to extrect an identifier for the single element in the collection
|
||||
// LookupsFunc: Function to generate metadata fields for the object, which will then in turn be a possibility to seach and filter without parsing
|
||||
// Searchable: Will the element be indexed for full-text-search?
|
||||
public abstract (string Key, string xPath, Func<XElement, string?> KeyFunc, bool Searchable)[]? XPathCollection { get; }
|
||||
public abstract (
|
||||
string Key,
|
||||
string xPath,
|
||||
Func<XElement, string?> KeyFunc,
|
||||
// Func<XElement, Dictionary<string, string[]>> LookupsFunc,
|
||||
bool Searchable
|
||||
)[]? XPathCollection { get; }
|
||||
|
||||
// Determines child objects to be collected
|
||||
// (deprecated see collections above; only used internally)
|
||||
|
||||
Reference in New Issue
Block a user