This topic has not yet been rated - Rate this topic

DomainModel Class

Represents a domain model. This is the base class of the domain model of your DSL.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
public abstract class DomainModel

The DomainModel type exposes the following members.

  Name Description
Protected method DomainModel Initializes a new instance of the DomainModel class.
Top
  Name Description
Public property DomainModelInfo Gets information about the domain model.
Public property ResourceManager Gets the resource manager for the domain model.
Public property Store Gets the store which contains this instance of the domain model.
Top
  Name Description
Public method CreateElement Creates an element of a specified type.
Public method CreateElementLink Creates an element link of a specified type.
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.)
Public method GetClosureFilter Returns an IElementVisitorFilter that corresponds to the particular closure type.
Public method GetClosureVisitor Returns an IElementVisitor that corresponds to the particular closure type.
Protected method GetCustomDomainModelTypes Gets the non-generated domain model types.
Protected method GetCustomDomainProperties Gets the non-generated domain properties.
Protected method GetCustomDomainRoles Gets the non-generated domain roles.
Protected method GetGeneratedDomainModelTypes Gets the generated domain model types.
Protected method GetGeneratedDomainProperties Gets the generated domain properties.
Protected method GetGeneratedDomainRoles Gets the generated domain roles.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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 ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ