Freigeben über


CoreDomainModel Class

Represents the domain model that defines the basic elements used by all domain models.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainModel
    Microsoft.VisualStudio.Modeling.CoreDomainModel

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
Public NotInheritable Class CoreDomainModel _
    Inherits DomainModel
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
public sealed class CoreDomainModel : DomainModel
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", 
    typeof(CoreDomainModel), L"Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute(L"968f9fb9-6074-49e3-8ec2-1e1ce7143e71")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", 
    typeof(CoreDomainModel), L"Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
public ref class CoreDomainModel sealed : public DomainModel
[<Sealed>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<CLSCompliantAttribute(true)>]
[<DomainObjectIdAttribute("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
type CoreDomainModel =  
    class
        inherit DomainModel
    end
public final class CoreDomainModel extends DomainModel

The CoreDomainModel type exposes the following members.

Constructors

  Name Description
Public method CoreDomainModel Initializes a new instance of the CoreDomainModel class.

Top

Properties

  Name Description
Public property DomainModelInfo Gets information about the domain model. (Inherited from DomainModel.)
Public property ResourceManager Gets the DomainModel's ResourceManager. If the ResourceManager does not already exist, then it is created. (Overrides DomainModel.ResourceManager.)
Public propertyStatic member SingletonResourceManager Gets the Singleton ResourceManager for this domain model.
Public property Store Gets the store which contains this instance of the domain model. (Inherited from DomainModel.)

Top

Methods

  Name Description
Public method CreateElement Creates an element of specified type. (Overrides DomainModel.CreateElement(Partition, Type, array<PropertyAssignment[]).)
Public method CreateElementLink Creates an element link of specified type. (Overrides DomainModel.CreateElementLink(Partition, Type, array<RoleAssignment[], array<PropertyAssignment[]).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetClosureFilter Returns an IElementVisitorFilter that corresponds to the particular closure type. (Inherited from DomainModel.)
Public method GetClosureVisitor Returns an IElementVisitor that corresponds to the particular closure type. (Inherited from DomainModel.)
Protected method GetCustomDomainModelTypes Gets the non-generated domain model types. (Inherited from DomainModel.)
Protected method GetCustomDomainProperties Gets the non-generated domain properties. (Inherited from DomainModel.)
Protected method GetCustomDomainRoles Gets the non-generated domain roles. (Inherited from DomainModel.)
Protected method GetGeneratedDomainModelTypes Gets the generated domain model types. (Inherited from DomainModel.)
Protected method GetGeneratedDomainProperties Gets the generated domain properties. (Inherited from DomainModel.)
Protected method GetGeneratedDomainRoles Gets the generated domain roles. (Inherited from DomainModel.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DomainModelId Represents the domain model ID for the core domain model.
Public fieldStatic member ResourceBaseName The base name of this model's resources.

Top

Remarks

This core domain model is used by all domain models, and provides definitions for elements such as ModelElement and ElementLink.

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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace