DomainModel Members

Include Protected Members
Include Inherited Members

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

The DomainModel type exposes the following members.

Constructors

 

Name

Description

Protected method

DomainModel

Initializes a new instance of the DomainModel class.

Top

Methods

 

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

Properties

 

Name

Description

Public property

DomainModelInfo

Gets information about the domain model.

Public property

ResourceManager

Gets the resource manager for thedomain model.

Public property

Store

Gets the store which contains this instance of the domain model.

Top

See Also

Reference

DomainModel Class

Microsoft.VisualStudio.Modeling Namespace