IElementPartitionMapper Interface
Interface for service used to map elements partitions when reconstituting ElementGroupPrototypes
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | BeginMapping(ElementGroupPrototype^, Partition^) | Notification that a series of partition mapping requests are bout to be made for a particular ElementGroupPrototype and merge (or target) partition. This is an opportunity to perform one-off initialization and establish a context for the subsequent mapping calls. |
![]() | EndMapping(ElementGroupPrototype^, Partition^, Object^) | Notification that the ElementGroupHydrator argument has finished reconstituting elements and will not be making any more partition resolution requests. An opportunity to tear down any per-hydration state. |
![]() | PartitionForClass(Partition^, Guid) | Determine the partition to be used as the default for instantiation of elements of the specified class |
![]() | PartitionForElement(ElementGroupPrototype^, Partition^, ProtoElement^, Object^) | Determine the partition to be used to reconstitute a prototype element |
ProtoLinks are always reconstituted into the partition of the source of the relationship, so the partition mapper is not asked to resolve partitions for links.
