SyntaxList<TNode> 构造函数

定义

重载

SyntaxList<TNode>(IEnumerable<TNode>)

创建语法节点的列表。

SyntaxList<TNode>(TNode)

创建语法节点的单一实例列表。

SyntaxList<TNode>(IEnumerable<TNode>)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs

创建语法节点的列表。

public:
 SyntaxList(System::Collections::Generic::IEnumerable<TNode> ^ nodes);
public SyntaxList (System.Collections.Generic.IEnumerable<TNode> nodes);
public SyntaxList (System.Collections.Generic.IEnumerable<TNode>? nodes);
new Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> : seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Sub New (nodes As IEnumerable(Of TNode))

参数

nodes
IEnumerable<TNode>

元素节点序列。

适用于

SyntaxList<TNode>(TNode)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs

创建语法节点的单一实例列表。

public:
 SyntaxList(TNode node);
public SyntaxList (TNode node);
public SyntaxList (TNode? node);
new Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> : 'Node -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Sub New (node As TNode)

参数

node
TNode

单个元素节点。

适用于