ProposalBrokerBase 类

定义

一个中转站,它组装与视图关联的所有 的 ProposalSourceBase输出。 这是通过 Visual Studio 实现的 ProposalBrokerProviderBase MEF 导出创建的。

public abstract class ProposalBrokerBase
type ProposalBrokerBase = class
Public MustInherit Class ProposalBrokerBase
继承
ProposalBrokerBase

构造函数

ProposalBrokerBase()

一个中转站,它组装与视图关联的所有 的 ProposalSourceBase输出。 这是通过 Visual Studio 实现的 ProposalBrokerProviderBase MEF 导出创建的。

属性

AnyProposalSources

如果有任何 ProposalSourceBase与视图关联的 ,则返回 true。

View

为其创建了代理的视图。

方法

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

请求给定 caretcompletionState的所有适用的 ProposalSourceBase的建议。 允许 groupingDelay 从第一个 ProposalSourceBase 传递到完成,然后再放弃其他源。

ShouldGenerateProposal(VirtualSnapshotPoint, ProposalScenario, Char)

建议是否应在给定 scenario 的 和 triggeringCharacter处生成caret

适用于