SyntaxNodeExtensions.WithTrailingTrivia Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
WithTrailingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>) |
Crea un nuovo nodo da questo nodo con il trivia finale sostituito. |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTrivia[]) |
Crea un nuovo nodo da questo nodo con il trivia finale sostituito. |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTriviaList) |
Crea un nuovo nodo da questo nodo con il trivia finale sostituito. |
WithTrailingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>)
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
Crea un nuovo nodo da questo nodo con il trivia finale sostituito.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia>? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As IEnumerable(Of SyntaxTrivia)) As TSyntax
Parametri di tipo
- TSyntax
Parametri
- node
- TSyntax
- trivia
- IEnumerable<SyntaxTrivia>
Restituisce
Si applica a
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTrivia[])
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
Crea un nuovo nodo da questo nodo con il trivia finale sostituito.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, ... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[]? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTrivia[] -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, ParamArray trivia As SyntaxTrivia()) As TSyntax
Parametri di tipo
- TSyntax
Parametri
- node
- TSyntax
- trivia
- SyntaxTrivia[]
Restituisce
Si applica a
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTriviaList)
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
- Origine:
- SyntaxNodeExtensions.cs
Crea un nuovo nodo da questo nodo con il trivia finale sostituito.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, Microsoft::CodeAnalysis::SyntaxTriviaList trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, Microsoft.CodeAnalysis.SyntaxTriviaList trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTriviaList -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As SyntaxTriviaList) As TSyntax
Parametri di tipo
- TSyntax
Parametri
- node
- TSyntax
- trivia
- SyntaxTriviaList