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
documentDocumentThe source code document to process.
positionintThe position to find help items.
triggerInfoSignatureHelpTriggerInfoThe reason for getting items.
cancellationTokenCancellationTokenCancellation token.
Returns
- ISignatureHelpItems
The list of items describing the method signature at a given position.