C# Class ootnamespace.ootSafeItemName.ResultSource

Called by the running IPeekBroker to create IPeekResults that will be displayed to the user in the Peek window.
Inheritance: IPeekResultSource
Mostrar archivo Open project: Microsoft/VSSDK-Extensibility-Templates

Public Methods

Method Description
FindResults ( string relationshipName, IPeekResultCollection collection, CancellationToken cancellationToken, IFindPeekResultsCallback callback ) : void

Populates the collection of IPeekResults for the given relationship.

ResultSource ( ootSafeItemName eekableItem ) : System

Method Details

FindResults() public method

Populates the collection of IPeekResults for the given relationship.
public FindResults ( string relationshipName, IPeekResultCollection collection, CancellationToken cancellationToken, IFindPeekResultsCallback callback ) : void
relationshipName string The case insenitive name of the relationship to be queried for results.
collection IPeekResultCollection
cancellationToken System.Threading.CancellationToken The cancellation token used by the caller to cancel the operation.
callback IFindPeekResultsCallback The instance used to report progress and failures.
return void

ResultSource() public method

public ResultSource ( ootSafeItemName eekableItem ) : System
eekableItem ootSafeItemName
return System