CoreDesignSurfaceDomainModel 类

重写反射替换 API

继承层次结构

System.Object
  Microsoft.VisualStudio.Modeling.DomainModel
    Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("91d59b16-e488-4a28-8d51-59273ad5bf2e")> _
<CLSCompliantAttribute(True)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DependsOnDomainModelAttribute(GetType(CoreDomainModel))> _
Public Class CoreDesignSurfaceDomainModel _
    Inherits DomainModel
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("91d59b16-e488-4a28-8d51-59273ad5bf2e")]
[CLSCompliantAttribute(true)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DependsOnDomainModelAttribute(typeof(CoreDomainModel))]
public class CoreDesignSurfaceDomainModel : DomainModel

CoreDesignSurfaceDomainModel 类型公开以下成员。

构造函数

  名称 说明
公共方法 CoreDesignSurfaceDomainModel 构造函数。

页首

属性

  名称 说明
公共属性 DomainModelInfo 获取有关域模型的信息。 (继承自 DomainModel。)
公共属性 ResourceManager 获取 DomainModel 的 ResourceManager。如果 ResourceManager 尚不存在,则会创建。 (重写 DomainModel.ResourceManager。)
公共属性静态成员 SingletonResourceManager 获取此域模型的一个 ResourceManager。
公共属性 Store 获取包含域模型的此实例的存储区。 (继承自 DomainModel。)

页首

方法

  名称 说明
公共方法 CreateElement 创建指定类型的元素。 (重写 DomainModel.CreateElement(Partition, Type, array<PropertyAssignment[])。)
公共方法 CreateElementLink 创建指定类型的一个元素链接。 (重写 DomainModel.CreateElementLink(Partition, Type, array<RoleAssignment[], array<PropertyAssignment[])。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetClosureFilter 返回对应于 ClosureType 的 IElementVisitorFilter。 (重写 DomainModel.GetClosureFilter(ClosureType, ICollection<ModelElement>)。)
公共方法 GetClosureVisitor 返回对应于特定关闭类型的 IElementVisitor。 (继承自 DomainModel。)
受保护的方法 GetCustomDomainModelTypes 返回 DomainModel 对象的类型的集合本 domainModel 的虚方法 (重写 DomainModel.GetCustomDomainModelTypes()。)
受保护的方法 GetCustomDomainProperties 获取非生成的字段的特性。 (继承自 DomainModel。)
受保护的方法 GetCustomDomainRoles 获取非生成的字段角色。 (继承自 DomainModel。)
受保护的方法 GetGeneratedDomainModelTypes 获取列表生成的域模型类型 (类、规则,关系)。 (重写 DomainModel.GetGeneratedDomainModelTypes()。)
受保护的方法 GetGeneratedDomainProperties 获取生成的字段特性。 (重写 DomainModel.GetGeneratedDomainProperties()。)
受保护的方法 GetGeneratedDomainRoles 获取生成的字段角色列表。 (重写 DomainModel.GetGeneratedDomainRoles()。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

字段

  名称 说明
公共字段静态成员 DomainModelId CoreDesignSurfaceDomainModel 域模型 ID.
公共字段静态成员 ResourceBaseName 此模型的资源的基名称。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.Modeling.Diagrams 命名空间