ElementNameProvider Class

Represents a name provider for domain elements.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.ElementNameProvider

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Class ElementNameProvider
public class ElementNameProvider
public ref class ElementNameProvider
type ElementNameProvider =  class end
public class ElementNameProvider

The ElementNameProvider type exposes the following members.

Constructors

  Name Description
Public method ElementNameProvider Initializes a new instance of the ElementNameProvider class.

Top

Properties

  Name Description
Public property DomainProperty Gets or sets the properties for the name provider.

Top

Methods

  Name Description
Protected method CustomSetUniqueNameCore Sets unique name on the element given base name and list of sibling model elements.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetElementNames Gets a map of all unique element names for the elements of a given container and embedded role ID.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetLinkNames Gets a map of the link names for the links that are assigned to the role players.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetUniqueName(ElementLink, DomainRoleInfo, String) Sets the name of a link that is assigned to an element.
Public method SetUniqueName(ModelElement, ModelElement, DomainRoleInfo, String) Sets a unique name on an element.
Protected method SetUniqueNameCore Sets the name of an element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace