Delegate TextChangesAction
Represents a method that will handle the ICodeFix.GetTextChangesAsync
and ICodeRefactor.GetTextChangesAsync
events.
public delegate Task<ITextUndoList> TextChangesAction(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenCancellation token.
Returns
- Task<ITextUndoList>
The provided
ITextUndoList
.