Method GetCodeRefactorsAsync
GetCodeRefactorsAsync(Point, Point, bool, CancellationToken)
Retrieves all applicable refactors at given range in async mode.
public override Task<IList<ICodeRefactor>> GetCodeRefactorsAsync(Point startPos, Point endPos, bool allDocuments, CancellationToken cancellationToken)
Parameters
startPosPointStar position within the text.
endPosPointEnd position within the text..
allDocumentsboolSpecifies all documents in the solution needs to be processed.
cancellationTokenCancellationTokenCancellation token
Returns
- Task<IList<ICodeRefactor>>
Collection of available code refactors