Freigeben über


SymbolEditor.AsyncDeclarationEditAction Delegat

Definition

Eine Aktion, die Änderungen an einem Deklarationsknoten in einem .SyntaxTree

public: delegate System::Threading::Tasks::Task ^ SymbolEditor::AsyncDeclarationEditAction(DocumentEditor ^ editor, SyntaxNode ^ declaration, CancellationToken cancellationToken);
public delegate System.Threading.Tasks.Task SymbolEditor.AsyncDeclarationEditAction(DocumentEditor editor, SyntaxNode declaration, CancellationToken cancellationToken);
type SymbolEditor.AsyncDeclarationEditAction = delegate of DocumentEditor * SyntaxNode * CancellationToken -> Task
Public Delegate Function SymbolEditor.AsyncDeclarationEditAction(editor As DocumentEditor, declaration As SyntaxNode, cancellationToken As CancellationToken) As Task 

Parameter

editor
DocumentEditor

Die DocumentEditor zum Anwenden von Bearbeitungen.

declaration
SyntaxNode

Die zu bearbeitende Deklaration.

cancellationToken
CancellationToken

Ein Abbruchtoken.

Rückgabewert

Gilt für: