Method GetItems
GetItems(Document, int, SignatureHelpTriggerInfo, CancellationToken)
Returns method signatures at the specified position in the document.
public 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 desribiging the method signature at a given position.