Share via


CodeAction.PostProcessChangesAsync Method

Definition

Overloads

PostProcessChangesAsync(Document, CancellationToken)

Apply post processing steps to a single document: Reducing nodes annotated with Annotation Formatting nodes annotated with Annotation

PostProcessChangesAsync(Solution, CancellationToken)

Apply post processing steps to solution changes, like formatting and simplification.

PostProcessChangesAsync(Document, CancellationToken)

Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs

Apply post processing steps to a single document: Reducing nodes annotated with Annotation Formatting nodes annotated with Annotation

protected:
 virtual System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Document ^> ^ PostProcessChangesAsync(Microsoft::CodeAnalysis::Document ^ document, System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document> PostProcessChangesAsync (Microsoft.CodeAnalysis.Document document, System.Threading.CancellationToken cancellationToken);
abstract member PostProcessChangesAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>
override this.PostProcessChangesAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Document>
Protected Overridable Function PostProcessChangesAsync (document As Document, cancellationToken As CancellationToken) As Task(Of Document)

Parameters

document
Document

The document changed by the CodeAction.

cancellationToken
CancellationToken

A cancellation token.

Returns

A document with the post processing changes applied.

Applies to

PostProcessChangesAsync(Solution, CancellationToken)

Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs
Source:
CodeAction.cs

Apply post processing steps to solution changes, like formatting and simplification.

protected:
 System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Solution ^> ^ PostProcessChangesAsync(Microsoft::CodeAnalysis::Solution ^ changedSolution, System::Threading::CancellationToken cancellationToken);
protected System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution> PostProcessChangesAsync (Microsoft.CodeAnalysis.Solution changedSolution, System.Threading.CancellationToken cancellationToken);
member this.PostProcessChangesAsync : Microsoft.CodeAnalysis.Solution * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Function PostProcessChangesAsync (changedSolution As Solution, cancellationToken As CancellationToken) As Task(Of Solution)

Parameters

changedSolution
Solution

The solution changed by the CodeAction.

cancellationToken
CancellationToken

A cancellation token

Returns

Applies to