表示域模型。这是 DSL 的域模型的基类。
继承层次结构
System.Object
Microsoft.VisualStudio.Modeling.DomainModel
Microsoft.VisualStudio.Modeling.CoreDomainModel
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
语法
声明
Public MustInherit Class DomainModel
public abstract class DomainModel
DomainModel 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
DomainModel | 初始化 DomainModel 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
DomainModelInfo | 获取有关域模型的信息。 |
![]() |
ResourceManager | 获取域模型资源管理器。 |
![]() |
Store | 获取包含域模型的此实例的存储区。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
CreateElement | 创建一个指定类型的元素。 |
![]() |
CreateElementLink | 创建一个指定类型的元素链接。 |
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
![]() |
GetClosureFilter | 返回对应于特定关闭类型的 IElementVisitorFilter 。 |
![]() |
GetClosureVisitor | 返回对应于特定关闭类型的 IElementVisitor。 |
![]() |
GetCustomDomainModelTypes | 获取非生成的域模型类型。 |
![]() |
GetCustomDomainProperties | 获取非生成的字段的特性。 |
![]() |
GetCustomDomainRoles | 获取非生成的字段角色。 |
![]() |
GetGeneratedDomainModelTypes | 获取生成的域模型类型。 |
![]() |
GetGeneratedDomainProperties | 获取生成的字段的特性。 |
![]() |
GetGeneratedDomainRoles | 获取生成的字段角色。 |
![]() |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.Modeling 命名空间