CodeAction.ComputePreviewOperationsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this method if you want to implement a CodeAction that has a set of preview operations that are different than the operations produced by ComputeOperationsAsync(IProgress<CodeAnalysisProgress>, CancellationToken).
protected:
virtual System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ ComputePreviewOperationsAsync(System::Threading::CancellationToken cancellationToken);
protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> ComputePreviewOperationsAsync (System.Threading.CancellationToken cancellationToken);
abstract member ComputePreviewOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
override this.ComputePreviewOperationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Overridable Function ComputePreviewOperationsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))
Parameters
- cancellationToken
- CancellationToken
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.