Delen via


CodeAction.GetChangedSolutionAsync Method

Definition

Overloads

GetChangedSolutionAsync(CancellationToken)

Computes all changes for an entire solution. Override this method if you want to implement a CodeAction subclass that changes more than one document. Override GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) to report progress progress while computing the operations.

GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

Computes all changes for an entire solution. Override this method if you want to implement a CodeAction subclass that changes more than one document. Prefer overriding this method over GetChangedSolutionAsync(CancellationToken) when computation is long running and progress should be shown to the user.

GetChangedSolutionAsync(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
Source:
CodeAction.cs

Computes all changes for an entire solution. Override this method if you want to implement a CodeAction subclass that changes more than one document. Override GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) to report progress progress while computing the operations.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::CodeAnalysis::Solution ^> ^ GetChangedSolutionAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution> GetChangedSolutionAsync (System.Threading.CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution?> GetChangedSolutionAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetChangedSolutionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
override this.GetChangedSolutionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Overridable Function GetChangedSolutionAsync (cancellationToken As CancellationToken) As Task(Of Solution)

Parameters

cancellationToken
CancellationToken

Returns

Applies to

GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

Source:
CodeAction.cs
Source:
CodeAction.cs

Computes all changes for an entire solution. Override this method if you want to implement a CodeAction subclass that changes more than one document. Prefer overriding this method over GetChangedSolutionAsync(CancellationToken) when computation is long running and progress should be shown to the user.

protected virtual System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution?> GetChangedSolutionAsync (IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> progress, System.Threading.CancellationToken cancellationToken);
abstract member GetChangedSolutionAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
override this.GetChangedSolutionAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Solution>
Protected Overridable Function GetChangedSolutionAsync (progress As IProgress(Of CodeAnalysisProgress), cancellationToken As CancellationToken) As Task(Of Solution)

Parameters

cancellationToken
CancellationToken

Returns

Applies to