Compartilhar via


CodeActionWithOptions.ComputeOperationsAsync Método

Definição

Sobrecargas

ComputeOperationsAsync(CancellationToken)
ComputeOperationsAsync(Object, CancellationToken)

Substitua esse método para calcular as operações que implementam esse CodeAction.

ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)

Substitua esse método para calcular as operações que implementam esse CodeAction. Prefira substituir esse método em vez ComputeOperationsAsync(Object, CancellationToken) de quando a computação estiver em execução longa e o progresso deve ser mostrado ao usuário.

ComputeOperationsAsync(CancellationToken)

Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
protected:
 override System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputeOperationsAsync(System::Threading::CancellationToken cancellationToken);
protected override System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overrides Function ComputeOperationsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a

ComputeOperationsAsync(Object, CancellationToken)

Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs

Substitua esse método para calcular as operações que implementam esse CodeAction.

protected:
 abstract System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputeOperationsAsync(System::Object ^ options, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected MustOverride Function ComputeOperationsAsync (options As Object, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Protected Overridable Function ComputeOperationsAsync (options As Object, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))

Parâmetros

options
Object

Uma instância de objeto retornada de uma chamada para GetOptions(CancellationToken).

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Aplica-se a

ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)

Origem:
CodeActionWithOptions.cs
Origem:
CodeActionWithOptions.cs

Substitua esse método para calcular as operações que implementam esse CodeAction. Prefira substituir esse método em vez ComputeOperationsAsync(Object, CancellationToken) de quando a computação estiver em execução longa e o progresso deve ser mostrado ao usuário.

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync (object options, IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> progress, System.Threading.CancellationToken cancellationToken);
override this.ComputeOperationsAsync : obj * IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputeOperationsAsync (options As Object, progress As IProgress(Of CodeAnalysisProgress), cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))

Parâmetros

options
Object
cancellationToken
CancellationToken

Retornos

Aplica-se a