Compartir a través de


CodeAction.GetChangedSolutionAsync Método

Definición

Sobrecargas

GetChangedSolutionAsync(CancellationToken)

Calcula todos los cambios de una solución completa. Invalide este método si desea implementar una CodeAction subclase que cambie más de un documento. Invalide GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) para notificar el progreso del progreso mientras se calculan las operaciones.

GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

Calcula todos los cambios de una solución completa. Invalide este método si desea implementar una CodeAction subclase que cambie más de un documento. Prefiere invalidar este método cuando GetChangedSolutionAsync(CancellationToken) el cálculo es de larga duración y el progreso debe mostrarse al usuario.

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

Calcula todos los cambios de una solución completa. Invalide este método si desea implementar una CodeAction subclase que cambie más de un documento. Invalide GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken) para notificar el progreso del progreso mientras se calculan las operaciones.

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)

Parámetros

cancellationToken
CancellationToken

Devoluciones

Se aplica a

GetChangedSolutionAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

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

Calcula todos los cambios de una solución completa. Invalide este método si desea implementar una CodeAction subclase que cambie más de un documento. Prefiere invalidar este método cuando GetChangedSolutionAsync(CancellationToken) el cálculo es de larga duración y el progreso debe mostrarse al usuario.

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)

Parámetros

cancellationToken
CancellationToken

Devoluciones

Se aplica a