DomainModel Class
Represents a domain model. This is the base class of the domain model of your DSL.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainModel
Microsoft.VisualStudio.Modeling.CoreDomainModel
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public MustInherit Class DomainModel
public abstract class DomainModel
public ref class DomainModel abstract
[<AbstractClass>]
type DomainModel = class end
public abstract class DomainModel
The DomainModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainModel | Initializes a new instance of the DomainModel class. |
Top
Properties
Name | Description | |
---|---|---|
DomainModelInfo | Gets information about the domain model. | |
ResourceManager | Gets the resource manager for the domain model. | |
Store | Gets the store which contains this instance of the domain model. |
Top
Methods
Name | Description | |
---|---|---|
CreateElement | Creates an element of a specified type. | |
CreateElementLink | Creates an element link of a specified type. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetClosureFilter | Returns an IElementVisitorFilter that corresponds to the particular closure type. | |
GetClosureVisitor | Returns an IElementVisitor that corresponds to the particular closure type. | |
GetCustomDomainModelTypes | Gets the non-generated domain model types. | |
GetCustomDomainProperties | Gets the non-generated domain properties. | |
GetCustomDomainRoles | Gets the non-generated domain roles. | |
GetGeneratedDomainModelTypes | Gets the generated domain model types. | |
GetGeneratedDomainProperties | Gets the generated domain properties. | |
GetGeneratedDomainRoles | Gets the generated domain roles. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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