DslDefinitionModelDomainModel Class
DomainModel DslDefinitionModelDomainModel Definition of the Dsl Designer.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainModel
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
声明
<DependsOnDomainModelAttribute(GetType(CoreDomainModel))> _
<CLSCompliantAttribute(True)> _
<DependsOnDomainModelAttribute(GetType(CoreDesignSurfaceDomainModel))> _
<DomainObjectIdAttribute("22330555-b402-4beb-ba11-1f84f4f8d2f0")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Class DslDefinitionModelDomainModel _
Inherits DomainModel
[DependsOnDomainModelAttribute(typeof(CoreDomainModel))]
[CLSCompliantAttribute(true)]
[DependsOnDomainModelAttribute(typeof(CoreDesignSurfaceDomainModel))]
[DomainObjectIdAttribute("22330555-b402-4beb-ba11-1f84f4f8d2f0")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public class DslDefinitionModelDomainModel : DomainModel
[DependsOnDomainModelAttribute(typeof(CoreDomainModel))]
[CLSCompliantAttribute(true)]
[DependsOnDomainModelAttribute(typeof(CoreDesignSurfaceDomainModel))]
[DomainObjectIdAttribute(L"22330555-b402-4beb-ba11-1f84f4f8d2f0")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ref class DslDefinitionModelDomainModel : public DomainModel
[<DependsOnDomainModelAttribute(typeof(CoreDomainModel))>]
[<CLSCompliantAttribute(true)>]
[<DependsOnDomainModelAttribute(typeof(CoreDesignSurfaceDomainModel))>]
[<DomainObjectIdAttribute("22330555-b402-4beb-ba11-1f84f4f8d2f0")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
type DslDefinitionModelDomainModel =
class
inherit DomainModel
end
public class DslDefinitionModelDomainModel extends DomainModel
The DslDefinitionModelDomainModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DslDefinitionModelDomainModel | Constructor. |
Top
Properties
Name | Description | |
---|---|---|
DomainModelInfo | Gets information about the domain model. (Inherited from DomainModel.) | |
ResourceManager | Gets the DomainModel's ResourceManager. If the ResourceManager does not already exist, then it is created. (Overrides DomainModel.ResourceManager.) | |
SingletonResourceManager | Gets the Singleton ResourceManager for this domain model. | |
Store | Gets the store which contains this instance of the domain model. (Inherited from DomainModel.) |
Top
Methods
Name | Description | |
---|---|---|
CreateElement | Creates an element of specified type. (Overrides DomainModel.CreateElement(Partition, Type, array<PropertyAssignment[]).) | |
CreateElementLink | Creates an element link of specified type. (Overrides DomainModel.CreateElementLink(Partition, Type, array<RoleAssignment[], array<PropertyAssignment[]).) | |
DisableDiagramRules | Disables rules in this domain model related to diagram fixup for the given store. | |
EnableDiagramRules | 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. | |
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 ClosureType. (Overrides DomainModel.GetClosureFilter(ClosureType, ICollection<ModelElement>).) | |
GetClosureVisitor | Returns an IElementVisitor that corresponds to the particular closure type. (Inherited from DomainModel.) | |
GetCustomDomainModelTypes | Override to add the fake ModelElementDomainClass. (Overrides DomainModel.GetCustomDomainModelTypes().) | |
GetCustomDomainProperties | Gets the non-generated domain properties. (Inherited from DomainModel.) | |
GetCustomDomainRoles | Gets the non-generated domain roles. (Inherited from DomainModel.) | |
GetGeneratedDomainModelTypes | Gets the list of generated domain model types (classes, rules, relationships). (Overrides DomainModel.GetGeneratedDomainModelTypes().) | |
GetGeneratedDomainProperties | Gets the list of generated domain properties. (Overrides DomainModel.GetGeneratedDomainProperties().) | |
GetGeneratedDomainRoles | Gets the list of generated domain roles. (Overrides DomainModel.GetGeneratedDomainRoles().) | |
GetHashCode | Serves as a hash function for a particular type. (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
Fields
Name | Description | |
---|---|---|
DomainModelId | DslDefinitionModelDomainModel domain model Id. | |
ResourceBaseName | The base name of this model's resources. |
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.