Share via


ProposalBrokerBase Class

Definition

A broker that assembles the output from all of the ProposalSourceBases associated with a view. This is created via the ProposalBrokerProviderBase MEF export that is implemented by Visual Studio.

public abstract class ProposalBrokerBase
type ProposalBrokerBase = class
Public MustInherit Class ProposalBrokerBase
Inheritance
ProposalBrokerBase

Constructors

ProposalBrokerBase()

Properties

AnyProposalSources

Returns true if there are any ProposalSourceBases associated with the view.

View

The view for which the broker was created.

Methods

RequestProposals(VirtualSnapshotPoint, CompletionState, ProposalScenario, Char, TimeSpan, CancellationToken)

Request proposals from all of the applicable ProposalSourceBases given caret and completionState. Allow groupingDelay to pass from the first ProposalSourceBase to complete before giving up on the other sources.

ShouldGenerateProposal(VirtualSnapshotPoint, ProposalScenario, Char)

Should a proposal be generated at the caret given scenario and triggeringCharacter?.

Applies to