Обновление формы просмотра
This commit is contained in:
@@ -174,11 +174,6 @@ internal abstract class StructureField(StructureBuilder builder, string name, in
|
||||
|
||||
public abstract string GetValueString();
|
||||
|
||||
public virtual ICollection<EntityTreeViewerRow> GetTextRows(EntityTreeViewerControl control)
|
||||
{
|
||||
return [new(control, this)];
|
||||
}
|
||||
|
||||
public virtual ICollection<T> GetRows<T>(Func<StructureField, T> func)
|
||||
{
|
||||
StructureField[] q = [this];
|
||||
@@ -351,15 +346,6 @@ internal class StructureFieldComplex : StructureField
|
||||
}
|
||||
}
|
||||
|
||||
public override ICollection<EntityTreeViewerRow> GetTextRows(EntityTreeViewerControl control)
|
||||
{
|
||||
List<EntityTreeViewerRow> rows = base.GetTextRows(control).ToList();
|
||||
|
||||
rows.AddRange(Fields.SelectMany(f => f.GetTextRows(control)).ToList());
|
||||
|
||||
return rows;
|
||||
}
|
||||
|
||||
public override ICollection<T> GetRows<T>(Func<StructureField, T> func)
|
||||
{
|
||||
return [.. base.GetRows(func), .. Fields.SelectMany(f => f.GetRows(func)).ToList()];
|
||||
|
||||
Reference in New Issue
Block a user