共用方式為


ElementNameProvider Class

Definition

Name provider for domain elements.

public ref class ElementNameProvider
public class ElementNameProvider
type ElementNameProvider = class
Public Class ElementNameProvider
Inheritance
ElementNameProvider

Constructors

ElementNameProvider()

Initializes an new instance of the ElementNameProvider class.

Properties

DomainProperty

Gets element name domain property managed by this ElementNameProvider.

Methods

CustomSetUniqueNameCore(ModelElement, String, IList<ModelElement>)

Sets unique name on the element given base name and list of sibling model elements.

GetElementNames(ModelElement, DomainRoleInfo, ModelElement)

Gets map of all unique element names to elements for a given container and embedded role ID. The map will only include elements that have the name property with which this name provider is associated.

GetLinkNames(ModelElement, DomainRoleInfo, ElementLink)

Gets a map of element link name -> element link for links connected at given role to the given role player. The map will only include links that have the name property with which this name provider is associated.

SetUniqueName(ElementLink, DomainRoleInfo, String)

Sets unique name on an element link if it's not already unique (and not the base name)

SetUniqueName(ModelElement, ModelElement, DomainRoleInfo, String)

Sets unique name on an element.

SetUniqueNameCore(ModelElement, String, IDictionary<String,ModelElement>)

Applies to