using System.Collections.Generic; using Util.Applications.Dtos; namespace Util.Applications.Trees { /// /// 树形表格结果 /// public class TestTreeTableResult : TreeTableResultBase> { public TestTreeTableResult( IEnumerable data, bool async = false ) : base( data, async ) { } protected override TreeDto ToDestinationNode( TreeDto node ) { return new TreeDto { Id = node.Id, Leaf = node.Leaf }; } protected override List ToResult( List nodes ) { return nodes; } } }