Method GetItems
GetItems(Document, int, SignatureHelpTriggerInfo, CancellationToken)
When implemented by a class, returns valid signature help items at the specified position in the document.
ISignatureHelpItems GetItems(Document document, int position, SignatureHelpTriggerInfo triggerInfo, CancellationToken cancellationToken = default)
Parameters
document
DocumentThe source code document to process.
position
intThe position to find help items.
triggerInfo
SignatureHelpTriggerInfoThe reason for getting items.
cancellationToken
CancellationTokenCancellation token.
Returns
- ISignatureHelpItems
The list of items describing the method signature at a given position.