Condividi tramite


SyntaxNodeExtensions.GetCurrentNodes Metodo

Definizione

Overload

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

Ottiene i nodi all'interno del sottoalbero corrispondente ai nodi tracciati originali. Usare TrackNodes per avviare il rilevamento dei nodi.

GetCurrentNodes<TNode>(SyntaxNode, TNode)

Ottiene i nodi all'interno del sottoalbero corrispondente al nodo tracciato originale. Usare TrackNodes per avviare il rilevamento dei nodi.

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

Ottiene i nodi all'interno del sottoalbero corrispondente ai nodi tracciati originali. Usare TrackNodes per avviare il rilevamento dei nodi.

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)

Parametri di tipo

TNode

Parametri

root
SyntaxNode

Radice del sottoalbero contenente i nodi correnti corrispondenti ai nodi tracciati originali.

nodes
IEnumerable<TNode>

Una o più istanze del nodo rilevate in origine.

Restituisce

IEnumerable<TNode>
Attributi

Si applica 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

Ottiene i nodi all'interno del sottoalbero corrispondente al nodo tracciato originale. Usare TrackNodes per avviare il rilevamento dei nodi.

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)

Parametri di tipo

TNode

Parametri

root
SyntaxNode

Radice del sottoalbero contenente il nodo corrente corrispondente al nodo tracciato originale.

node
TNode

Istanza del nodo rilevata originariamente.

Restituisce

IEnumerable<TNode>

Si applica a