Compartir a través de


SyntaxNodeExtensions.GetCurrentNodes Método

Definición

Sobrecargas

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

Obtiene los nodos del subárbol correspondientes a los nodos de seguimiento originales. Use TrackNodes para iniciar el seguimiento de nodos.

GetCurrentNodes<TNode>(SyntaxNode, TNode)

Obtiene los nodos dentro del subárbol correspondiente al nodo de seguimiento original. Use TrackNodes para iniciar el seguimiento de nodos.

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs

Obtiene los nodos del subárbol correspondientes a los nodos de seguimiento originales. Use TrackNodes para iniciar el seguimiento de nodos.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, System::Collections::Generic::IEnumerable<TNode> ^ nodes);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))]
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, System.Collections.Generic.IEnumerable<TNode> nodes) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))>]
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Iterator Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, nodes As IEnumerable(Of TNode)) As IEnumerable(Of TNode)

Parámetros de tipo

TNode

Parámetros

root
SyntaxNode

Raíz del subárbol que contiene los nodos actuales correspondientes a los nodos de seguimiento originales.

nodes
IEnumerable<TNode>

Se ha seguido originalmente una o varias instancias de nodo.

Devoluciones

IEnumerable<TNode>
Atributos

Se aplica a

GetCurrentNodes<TNode>(SyntaxNode, TNode)

Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs

Obtiene los nodos dentro del subárbol correspondiente al nodo de seguimiento original. Use TrackNodes para iniciar el seguimiento de nodos.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, TNode node);
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * 'Node -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, node As TNode) As IEnumerable(Of TNode)

Parámetros de tipo

TNode

Parámetros

root
SyntaxNode

Raíz del subárbol que contiene el nodo actual correspondiente al nodo de seguimiento original.

node
TNode

Instancia del nodo de la que se ha seguido originalmente.

Devoluciones

IEnumerable<TNode>

Se aplica a