доработка
This commit is contained in:
parent
279944d062
commit
2c8824c155
@ -33,7 +33,6 @@ namespace AbstractLawFirmFileImplement
|
||||
Components = LoadData(ComponentFileName, "Component", x => Component.Create(x)!)!;
|
||||
Documents = LoadData(DocumentFileName, "Document", x => Document.Create(x)!)!;
|
||||
Orders = LoadData(OrderFileName, "Order", x => Order.Create(x)!)!;
|
||||
//Orders = new List<Order>();
|
||||
}
|
||||
private static List<T>? LoadData<T>(string filename, string xmlNodeName,
|
||||
Func<XElement, T> selectFunction)
|
||||
|
Loading…
Reference in New Issue
Block a user