C# Class MichaelReukauff.Protobuf.QuickInfoSource

The quick info source.
Inheritance: IQuickInfoSource
Afficher le fichier Open project: mreu/ProtobufLanguageService

Méthodes publiques

Méthode Description
AugmentQuickInfoSession ( IQuickInfoSession session, IList quickInfoContent, ITrackingSpan &applicableToSpan ) : void

Implement the AugmentQuickInfoSession method. Here the method finds the current word, or the previous word if the cursor is at the end of a line or a text buffer. If the word is one of the method names, the description for that method name is added to the QuickInfo content.

Dispose ( ) : void

The dispose.

QuickInfoSource ( ITextBuffer buffer, ITagAggregator aggregator ) : System.Collections.Generic

Initializes a new instance of the QuickInfoSource class. The constructor sets the QuickInfo source provider and the text buffer, and populates the set of method names, and method signatures and descriptions.

Method Details

AugmentQuickInfoSession() public méthode

Implement the AugmentQuickInfoSession method. Here the method finds the current word, or the previous word if the cursor is at the end of a line or a text buffer. If the word is one of the method names, the description for that method name is added to the QuickInfo content.
public AugmentQuickInfoSession ( IQuickInfoSession session, IList quickInfoContent, ITrackingSpan &applicableToSpan ) : void
session IQuickInfoSession /// The session. ///
quickInfoContent IList /// The quick info content. ///
applicableToSpan ITrackingSpan /// The tracking span. ///
Résultat void

Dispose() public méthode

The dispose.
public Dispose ( ) : void
Résultat void

QuickInfoSource() public méthode

Initializes a new instance of the QuickInfoSource class. The constructor sets the QuickInfo source provider and the text buffer, and populates the set of method names, and method signatures and descriptions.
public QuickInfoSource ( ITextBuffer buffer, ITagAggregator aggregator ) : System.Collections.Generic
buffer ITextBuffer /// The text buffer. ///
aggregator ITagAggregator /// The aggregator. ///
Résultat System.Collections.Generic