Class IndentatedNode
ชื่อพื้นที่: Aspose.Note การประกอบ: Aspose.Note.dll (25.4.0)
คลาสพื้นฐานสําหรับ nodes กับ indentation relative สําหรับ nods ของเด็ก
public class IndentatedNode<T> : CompositeNode<T>, INode, ICompositeNode<T>, ICompositeNode, IEnumerable<T>, IEnumerable, IIndentatedNode where T : INode
{
private readonly List<T> _children;
public IndentatedNode()
{
_children = new List<T>();
}
public void AddChild(T child)
{
_children.Add(child);
}
}
ประเภทพารามิเตอร์
T
ประเภทขององค์ประกอบในคิวส์คอมโพสิต
Inheritance
object
←
Node
←
CompositeNodeBase
←
CompositeNode
Implements
INode
,
ICompositeNode
อนุญาโตตุลาการ
CompositeNode
Constructors
หมายเลขที่ระบุ (NodeType)
เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Note.IndentatedNode`1
protected IndentatedNode(NodeType nodeType)
{
base.NodeType = nodeType;
}
Parameters
nodeType
NodeType
ประเภทของ node
Properties
IndentPosition
ได้รับหรือตั้งตําแหน่ง indent
public byte IndentPosition
{
get;
set;
}