Method GetCodeRefactorsAsync
GetCodeRefactorsAsync(Point, Point, bool, CancellationToken)
When implemented by a class, retrieves all applicable refactors at given range in async mode.
Task<IList<ICodeRefactor>> GetCodeRefactorsAsync(Point startPos, Point endPos, bool allDocuments, CancellationToken cancellationToken)
Parameters
startPos
PointStar position within the text.
endPos
PointEnd position within the text.
allDocuments
boolSpecifies all documents in the solution needs to be processed.
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IList<ICodeRefactor>>
Collection of available code refactors