Compartilhar via


DslDefinitionModelDomainModel Class

Definition

DomainModel DslDefinitionModelDomainModel Definition of the Dsl Designer.

public ref class DslDefinitionModelDomainModel : Microsoft::VisualStudio::Modeling::DomainModel
[Microsoft.VisualStudio.Modeling.DependsOnDomainModel(typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel))]
[Microsoft.VisualStudio.Modeling.DependsOnDomainModel(typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel))]
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainObjectId("22330555-b402-4beb-ba11-1f84f4f8d2f0")]
[System.CLSCompliant(true)]
public class DslDefinitionModelDomainModel : Microsoft.VisualStudio.Modeling.DomainModel
[<Microsoft.VisualStudio.Modeling.DependsOnDomainModel(typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel))>]
[<Microsoft.VisualStudio.Modeling.DependsOnDomainModel(typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel))>]
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("22330555-b402-4beb-ba11-1f84f4f8d2f0")>]
[<System.CLSCompliant(true)>]
type DslDefinitionModelDomainModel = class
    inherit DomainModel
Public Class DslDefinitionModelDomainModel
Inherits DomainModel
Inheritance
DslDefinitionModelDomainModel
Attributes

Constructors

DslDefinitionModelDomainModel(Store)

Constructor.

Fields

DomainModelId

DslDefinitionModelDomainModel domain model Id.

ResourceBaseName

The base name of this model's resources.

Properties

DomainModelInfo

Gets domain model information.

(Inherited from DomainModel)
ResourceManager

Gets the DomainModel's ResourceManager. If the ResourceManager does not already exist, then it is created.

SingletonResourceManager

Gets the Singleton ResourceManager for this domain model.

Store

Gets the Store which contains this instance of domain model.

(Inherited from DomainModel)

Methods

CreateElement(Partition, Type, PropertyAssignment[])

Creates an element of specified type.

CreateElementLink(Partition, Type, RoleAssignment[], PropertyAssignment[])

Creates an element link of specified type.

DisableDiagramRules(Store)

Disables rules in this domain model related to diagram fixup for the given store.

EnableDiagramRules(Store)

Enables rules in this domain model related to diagram fixup for the given store. If diagram data will be loaded into the store, this method should be called first to ensure that the diagram behaves properly.

GetClosureFilter(ClosureType, ICollection<ModelElement>)

Returns an IElementVisitorFilter that corresponds to the ClosureType.

GetClosureVisitor(ClosureType, ICollection<ModelElement>)

Returns an IElementVisitor that corresponds to the particular closure type.

(Inherited from DomainModel)
GetCustomDomainModelTypes()

Override to add the fake ModelElementDomainClass.

GetCustomDomainProperties()

Gets the list of non-generated domain properties.

(Inherited from DomainModel)
GetCustomDomainRoles()

Gets the list of non-generated domain roles.

(Inherited from DomainModel)
GetGeneratedDomainModelTypes()

Gets the list of generated domain model types (classes, rules, relationships).

GetGeneratedDomainProperties()

Gets the list of generated domain properties.

GetGeneratedDomainRoles()

Gets the list of generated domain roles.

Applies to