mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Further developed collections
This commit is contained in:
@@ -39,4 +39,12 @@ public class ItemsCollection {
|
||||
if (Collection.SortingsGeneration != null && this.Items.Any())
|
||||
this.Sortings = Collection.SortingsGeneration(this.Items.Values.ToList());
|
||||
}
|
||||
|
||||
public CollectedItem? this[string v] {
|
||||
get {
|
||||
if (Items != null && Items.ContainsKey(v))
|
||||
return Items[v];
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user