CodeActionWithOptions.ComputeOperationsAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ComputeOperationsAsync(CancellationToken) | |
ComputeOperationsAsync(Object, CancellationToken) |
Eseguire l'override di questo metodo per calcolare le operazioni che implementano questo CodeActionoggetto . |
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken) |
Eseguire l'override di questo metodo per calcolare le operazioni che implementano questo CodeActionoggetto . Preferisce eseguire l'override di questo metodo ComputeOperationsAsync(Object, CancellationToken) quando il calcolo è a esecuzione prolungata e lo stato di avanzamento deve essere visualizzato all'utente. |
ComputeOperationsAsync(CancellationToken)
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- 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))
Parametri
- cancellationToken
- CancellationToken
Restituisce
Si applica a
ComputeOperationsAsync(Object, CancellationToken)
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
Eseguire l'override di questo metodo per calcolare le operazioni che implementano questo CodeActionoggetto .
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))
Parametri
- options
- Object
Istanza dell'oggetto restituita da una chiamata a GetOptions(CancellationToken).
- cancellationToken
- CancellationToken
Token di annullamento.
Restituisce
Si applica a
ComputeOperationsAsync(Object, IProgress<CodeAnalysisProgress>, CancellationToken)
- Origine:
- CodeActionWithOptions.cs
- Origine:
- CodeActionWithOptions.cs
Eseguire l'override di questo metodo per calcolare le operazioni che implementano questo CodeActionoggetto . Preferisce eseguire l'override di questo metodo ComputeOperationsAsync(Object, CancellationToken) quando il calcolo è a esecuzione prolungata e lo stato di avanzamento deve essere visualizzato all'utente.
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))
Parametri
- options
- Object
- progress
- IProgress<CodeAnalysisProgress>
- cancellationToken
- CancellationToken