Formatter.GetFormattedTextChanges Méthode

Définition

Surcharges

GetFormattedTextChanges(SyntaxNode, Workspace, OptionSet, CancellationToken)

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

GetFormattedTextChanges(SyntaxNode, TextSpan, Workspace, OptionSet, CancellationToken)

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

GetFormattedTextChanges(SyntaxNode, IEnumerable<TextSpan>, Workspace, OptionSet, CancellationToken)

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

GetFormattedTextChanges(SyntaxNode, Workspace, OptionSet, CancellationToken)

Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet? options = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFormattedTextChanges : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Workspace * Microsoft.CodeAnalysis.Options.OptionSet * System.Threading.CancellationToken -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange>
Public Shared Function GetFormattedTextChanges (node As SyntaxNode, workspace As Workspace, Optional options As OptionSet = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IList(Of TextChange)

Paramètres

node
SyntaxNode

Nœud racine d’une arborescence de syntaxe à mettre en forme.

workspace
Workspace

Espace de travail utilisé pour donner le contexte de mise en forme.

options
OptionSet

Ensemble facultatif d’options de mise en forme. Si ces options ne sont pas fournies, l’ensemble actuel d’options de l’espace de travail sera utilisé.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

Modifications nécessaires pour mettre en forme l’arborescence.

S’applique à

GetFormattedTextChanges(SyntaxNode, TextSpan, Workspace, OptionSet, CancellationToken)

Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.Text.TextSpan span, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.Text.TextSpan span, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet? options = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFormattedTextChanges : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Text.TextSpan * Microsoft.CodeAnalysis.Workspace * Microsoft.CodeAnalysis.Options.OptionSet * System.Threading.CancellationToken -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange>
Public Shared Function GetFormattedTextChanges (node As SyntaxNode, span As TextSpan, workspace As Workspace, Optional options As OptionSet = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IList(Of TextChange)

Paramètres

node
SyntaxNode

Nœud racine d’une arborescence de syntaxe à mettre en forme.

span
TextSpan

Étendue dans l’étendue complète du nœud à mettre en forme.

workspace
Workspace

Espace de travail utilisé pour donner le contexte de mise en forme.

options
OptionSet

Ensemble facultatif d’options de mise en forme. Si ces options ne sont pas fournies, l’ensemble actuel d’options de l’espace de travail sera utilisé.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

Modifications nécessaires pour mettre en forme l’arborescence.

S’applique à

GetFormattedTextChanges(SyntaxNode, IEnumerable<TextSpan>, Workspace, OptionSet, CancellationToken)

Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs
Source:
Formatter.cs

Détermine les modifications nécessaires pour mettre en forme l’espace blanc d’une arborescence de syntaxe.

public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextSpan> spans, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet options = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange> GetFormattedTextChanges(Microsoft.CodeAnalysis.SyntaxNode node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextSpan>? spans, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.Options.OptionSet? options = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFormattedTextChanges : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.Text.TextSpan> * Microsoft.CodeAnalysis.Workspace * Microsoft.CodeAnalysis.Options.OptionSet * System.Threading.CancellationToken -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.Text.TextChange>
Public Shared Function GetFormattedTextChanges (node As SyntaxNode, spans As IEnumerable(Of TextSpan), workspace As Workspace, Optional options As OptionSet = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IList(Of TextChange)

Paramètres

node
SyntaxNode

Nœud racine d’une arborescence de syntaxe à mettre en forme.

spans
IEnumerable<TextSpan>

Étendues dans l’étendue complète du nœud à mettre en forme.

workspace
Workspace

Espace de travail utilisé pour donner le contexte de mise en forme.

options
OptionSet

Ensemble facultatif d’options de mise en forme. Si ces options ne sont pas fournies, l’ensemble actuel d’options de l’espace de travail sera utilisé.

cancellationToken
CancellationToken

Jeton d’annulation facultatif.

Retours

Modifications nécessaires pour mettre en forme l’arborescence.

S’applique à