fix
This commit is contained in:
parent
cb8fb410b3
commit
8d0be1216c
@ -34,8 +34,11 @@ namespace LawFirmFileImplement
|
||||
{
|
||||
if (File.Exists(filename))
|
||||
{
|
||||
return
|
||||
XDocument.Load(filename)?.Root?.Elements(xmlNodeName)?.Select(selectFunction)?.ToList();
|
||||
return XDocument.Load(filename)?.
|
||||
Root?.
|
||||
Elements(xmlNodeName)?.
|
||||
Select(selectFunction)?.
|
||||
ToList();
|
||||
}
|
||||
return new List<T>();
|
||||
}
|
||||
|
@ -11,8 +11,7 @@ namespace LawFirmFileImplement.Models
|
||||
public string DocumentName { get; private set; } = string.Empty;
|
||||
public double Price { get; private set; }
|
||||
public Dictionary<int, int> Blanks { get; private set; } = new();
|
||||
private Dictionary<int, (IBlankModel, int)>? _documentBlanks =
|
||||
null;
|
||||
private Dictionary<int, (IBlankModel, int)>? _documentBlanks = null;
|
||||
public Dictionary<int, (IBlankModel, int)> DocumentBlanks
|
||||
{
|
||||
get
|
||||
|
Loading…
Reference in New Issue
Block a user