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.

  NameDescription
Protected methodDomainModelInitializes a new instance of the DomainModel class.
Top
  NameDescription
Public propertyDomainModelInfoGets information about the domain model.
Public propertyResourceManagerGets the resource manager for the domain model.
Public propertyStoreGets the store which contains this instance of the domain model.
Top
  NameDescription
Public methodCreateElementCreates an element of a specified type.
Public methodCreateElementLinkCreates an element link of a specified type.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetClosureFilterReturns an IElementVisitorFilter that corresponds to the particular closure type.
Public methodGetClosureVisitorReturns an IElementVisitor that corresponds to the particular closure type.
Protected methodGetCustomDomainModelTypesGets the non-generated domain model types.
Protected methodGetCustomDomainPropertiesGets the non-generated domain properties.
Protected methodGetCustomDomainRolesGets the non-generated domain roles.
Protected methodGetGeneratedDomainModelTypesGets the generated domain model types.
Protected methodGetGeneratedDomainPropertiesGets the generated domain properties.
Protected methodGetGeneratedDomainRolesGets the generated domain roles.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns 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 Additions

ADD
© 2013 Microsoft. All rights reserved.