IElementPartitionMapper 接口

当重建 ElementGroupPrototypes 时,用于映射元素分区的服务接口。

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
Public Interface IElementPartitionMapper
public interface IElementPartitionMapper

IElementPartitionMapper 类型公开以下成员。

方法

  名称 说明
公共方法 BeginMapping 一系列分区映射请求即将为特殊的 ElementGroupPrototype 创建和合并(或目标)分区的通知。这是机会单个执行初始化,并且在后续映射的上下文调用。
公共方法 EndMapping ElementGroupHydrator 参数已经完成重建元素并将不再发出分区决定请求的通知。关闭任何 per-hydration 状态的机会。
公共方法 PartitionForClass 确定用作默认分区的指定类元素的实例化
公共方法 PartitionForElement 确定重建原型元素使用的分区

页首

备注

ProtoLinks 始终重新为组成关系的源分区,分区程序请求映射,因此没有解析链接的分区。

请参阅

参考

Microsoft.VisualStudio.Modeling 命名空间