T_Cyjb_Markdown_Syntax_NodeList_1 - CYJB/Cyjb.Markdown GitHub Wiki

NodeList(T) 类

表示 Markdown 的子节点列表。

继承层次

System.Object
  Cyjb.Collections.ObjectModel.CollectionBase1</a>(*T*)<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_ListBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1(T)
      Cyjb.Markdown.Syntax.NodeList(T)
Namespace: Cyjb.Markdown.Syntax
Assembly: Cyjb.Markdown (in Cyjb.Markdown.dll) Version: 1.0.2+f073417ab111e884603147b5dc42e8ccc863a984

语法

C#

public sealed class NodeList<T> : <a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_ListBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase`1</a><T>
where T : Node

类型参数

 

T
子节点的类型。
  The NodeList(T) type exposes the following members.

构造函数

 

名称 说明
公共方法 NodeList(T) 使用指定的所属节点初始化 NodeList(T) 类的新实例。
  Back to Top

属性

 

名称 说明
公共属性 Count 获取当前列表包含的元素数。 (重写 Cyjb.Collections.ObjectModel.CollectionBase1.Count</a>.)</td></tr><tr><td>![公共属性](media/pubproperty.gif "公共属性")</td><td><a href="https://github.com/CYJB/Cyjb/wiki/P_Cyjb_Collections_ObjectModel_ListBase_1_Item(System_Int32)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1.Item(System.Int32) 获取或设置指定索引处的元素。 (继承自 Cyjb.Collections.ObjectModel.ListBase`1(T)。)
公共属性 Owner 获取当前列表所属的节点。
  Back to Top

方法

 

名称 说明
公共方法 Cyjb.Collections.ObjectModel.CollectionBase1.Add(0) 将指定对象添加到当前集合中。 (继承自 Cyjb.Collections.ObjectModel.CollectionBase1</a>(*T*)。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="M_Cyjb_Markdown_Syntax_NodeList_1_AddRange">AddRange</a></td><td> 将指定范围的节点添加到当前列表中。</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="M_Cyjb_Markdown_Syntax_NodeList_1_Clear">Clear</a></td><td> 从当前列表中移除所有元素。 (重写 <a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_CollectionBase_1_Clear" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.CollectionBase1.Clear.)
公共方法 Cyjb.Collections.ObjectModel.ListBase1.Contains(0) 确定当前列表是否包含指定对象。 (继承自 Cyjb.Collections.ObjectModel.ListBase1</a>(*T*)。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_CollectionBase_1_CopyTo(_0[],System_Int32)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.CollectionBase1.CopyTo(0[],System.Int32)</a></td><td> 从特定的 <a href="https://docs.microsoft.com/dotnet/api/system.array" target="_blank" rel="noopener noreferrer">Array</a> 索引处开始,将当前集合 的元素复制到一个 <a href="https://docs.microsoft.com/dotnet/api/system.array" target="_blank" rel="noopener noreferrer">Array</a> 中。 (继承自 <a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_CollectionBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.CollectionBase1(T)。)
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (重写 Cyjb.Collections.ObjectModel.CollectionBase1.GetEnumerator</a>.)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode" target="_blank" rel="noopener noreferrer">GetHashCode</a></td><td> Serves as the default hash function. (继承自 <a href="https://docs.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype" target="_blank" rel="noopener noreferrer">GetType</a></td><td> Gets the <a href="https://docs.microsoft.com/dotnet/api/system.type" target="_blank" rel="noopener noreferrer">Type</a> of the current instance. (继承自 <a href="https://docs.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="M_Cyjb_Markdown_Syntax_NodeList_1_IndexOf">IndexOf</a></td><td> 确定当前列表中指定对象的索引。 (重写 <a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ListBase_1_IndexOf(_0)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1.IndexOf(0)</a>.)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ListBase_1_Insert(System_Int32,_0)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1.Insert(System.Int32,0)</a></td><td> 将元素插入当前列表的指定索引处。 (继承自 <a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_ListBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1(T)。)
公共方法 Cyjb.Collections.ObjectModel.ListBase1.Remove(0) 从当前列表中移除特定对象的第一个匹配项。 (继承自 Cyjb.Collections.ObjectModel.ListBase1</a>(*T*)。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ListBase_1_RemoveAt(System_Int32)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ListBase1.RemoveAt(System.Int32) 移除当前列表中指定索引处的元素。 (继承自 Cyjb.Collections.ObjectModel.ListBase`1(T)。)
公共方法 RemoveRange(Int32, Int32) 移除指定范围的子节点。
公共方法 RemoveRange(T, T) 移除指定范围的子节点。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Cyjb.Markdown.Syntax 命名空间

⚠️ **GitHub.com Fallback** ⚠️