Condividi tramite


CodeAction.ComputeOperationsAsync Metodo

Definizione

Overload

ComputeOperationsAsync(CancellationToken)

Eseguire l'override di questo metodo se si vuole implementare una CodeAction sottoclasse che include gli oggetti personalizzati CodeActionOperation.

ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

Eseguire l'override di questo metodo se si vuole implementare una CodeAction sottoclasse che include gli oggetti personalizzati CodeActionOperation. Preferire l'override di questo metodo quando ComputeOperationsAsync(CancellationToken) il calcolo è a esecuzione prolungata e l'avanzamento deve essere visualizzato all'utente.

ComputeOperationsAsync(CancellationToken)

Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs
Origine:
CodeAction.cs

Eseguire l'override di questo metodo se si vuole implementare una CodeAction sottoclasse che include gli oggetti personalizzati 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))

Parametri

cancellationToken
CancellationToken

Restituisce

Si applica a

ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken)

Origine:
CodeAction.cs
Origine:
CodeAction.cs

Eseguire l'override di questo metodo se si vuole implementare una CodeAction sottoclasse che include gli oggetti personalizzati CodeActionOperation. Preferire l'override di questo metodo quando ComputeOperationsAsync(CancellationToken) il calcolo è a esecuzione prolungata e l'avanzamento deve essere visualizzato all'utente.

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))

Parametri

cancellationToken
CancellationToken

Restituisce

Si applica a