CodeActionWithOptions.ComputeOperationsAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ComputeOperationsAsync(CancellationToken) | |
ComputeOperationsAsync(Object, CancellationToken) |
Invalide este método para calcular las operaciones que implementan este CodeAction. |
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken) |
Invalide este método para calcular las operaciones que implementan este CodeAction. Prefiere invalidar este método cuando ComputeOperationsAsync(Object, CancellationToken) el cálculo es de larga duración y el progreso debe mostrarse al usuario. |
ComputeOperationsAsync(CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- 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
Devoluciones
Se aplica a
ComputeOperationsAsync(Object, CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
Invalide este método para calcular las operaciones que implementan este 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
Instancia de objeto devuelta de una llamada a GetOptions(CancellationToken).
- cancellationToken
- CancellationToken
Token de cancelación.
Devoluciones
Se aplica a
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)
- Source:
- CodeActionWithOptions.cs
- Source:
- CodeActionWithOptions.cs
Invalide este método para calcular las operaciones que implementan este CodeAction. Prefiere invalidar este método cuando ComputeOperationsAsync(Object, CancellationToken) el cálculo es de larga duración y el progreso debe mostrarse al usuario.
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
- progress
- IProgress<CodeAnalysisProgress>
- cancellationToken
- CancellationToken