Table of Contents

Method GetItems

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v10.dll

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 Document

The source code document to process.

position int

The position to find help items.

triggerInfo SignatureHelpTriggerInfo

The reason for getting items.

cancellationToken CancellationToken

Cancellation token.

Returns

ISignatureHelpItems

The list of items describing the method signature at a given position.