Partager via


CodeAction.ComputePreviewOperationsAsync(CancellationToken) Méthode

Définition

Remplacez cette méthode si vous souhaitez implémenter un CodeAction qui a un ensemble d’opérations d’aperçu qui sont différentes des opérations produites par ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken).

protected:
 virtual System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputePreviewOperationsAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputePreviewOperationsAsync (System.Threading.CancellationToken cancellationToken);
abstract member ComputePreviewOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
override this.ComputePreviewOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputePreviewOperationsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))

Paramètres

cancellationToken
CancellationToken

Retours

S’applique à