mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Seperation of concerns: Seperated used File Management form Overall FIle Management
This commit is contained in:
@@ -5,11 +5,11 @@ public class UploadViewModel {
|
||||
public string ActiveTitle { get; private set; }
|
||||
public string? Prefix { get; private set; }
|
||||
public List<IXMLRoot>? AvailableRoots { get; private set; }
|
||||
public List<XMLRootDocument>? AvailableFiles { get; private set; }
|
||||
public Dictionary<string, List<XMLRootDocument>>? UsedFiles { get; private set; }
|
||||
public FileList? AvailableFiles { get; private set; }
|
||||
public Dictionary<string, FileList>? UsedFiles { get; private set; }
|
||||
|
||||
|
||||
public UploadViewModel(string title, string? prefix, List<IXMLRoot>? roots, List<XMLRootDocument>? availableFiles, Dictionary<string, List<XMLRootDocument>>? usedFiles) {
|
||||
public UploadViewModel(string title, string? prefix, List<IXMLRoot>? roots, FileList? availableFiles, Dictionary<string, FileList>? usedFiles) {
|
||||
Prefix = prefix;
|
||||
ActiveTitle = title;
|
||||
AvailableRoots = roots;
|
||||
|
||||
Reference in New Issue
Block a user