CodeAction.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) |
Invalide este método si desea implementar una CodeAction subclase que incluya los personalizados CodeActionOperation. |
ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken) |
Invalide este método si desea implementar una CodeAction subclase que incluya los personalizados CodeActionOperation. Prefiere invalidar este método ComputeOperationsAsync(CancellationToken) cuando el cálculo es de larga duración y el progreso se debe mostrar al usuario. |
ComputeOperationsAsync(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
Invalide este método si desea implementar una CodeAction subclase que incluya los personalizados CodeActionOperation.
protected:
virtual System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputeOperationsAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync(System.Threading.CancellationToken cancellationToken);
abstract member ComputeOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
override this.ComputeOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputeOperationsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Parámetros
- cancellationToken
- CancellationToken
Devoluciones
Se aplica a
ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken)
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
- Source:
- CodeAction.cs
Invalide este método si desea implementar una CodeAction subclase que incluya los personalizados CodeActionOperation. Prefiere invalidar este método ComputeOperationsAsync(CancellationToken) cuando el cálculo es de larga duración y el progreso se debe mostrar al usuario.
protected virtual System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputeOperationsAsync(IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> progress, System.Threading.CancellationToken cancellationToken);
abstract member ComputeOperationsAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
override this.ComputeOperationsAsync : IProgress<Microsoft.CodeAnalysis.CodeAnalysisProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputeOperationsAsync (progress As IProgress(Of CodeAnalysisProgress), cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of CodeActionOperation))
Parámetros
- progress
- IProgress<CodeAnalysisProgress>
- cancellationToken
- CancellationToken