다음을 통해 공유


CoreDomainModel 클래스

모든 도메인 모델에 사용되는 기본 요소를 정의하는 도메인 모델을 나타냅니다.

상속 계층 구조

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

네임스페이스:  Microsoft.VisualStudio.Modeling
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

구문

‘선언
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")> _
Public NotInheritable Class CoreDomainModel _
    Inherits DomainModel
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")]
public sealed class CoreDomainModel : DomainModel

CoreDomainModel 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 CoreDomainModel CoreDomainModel 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 DomainModelInfo 도메인 모델에 대한 정보를 가져옵니다. (DomainModel에서 상속됨)
Public 속성 ResourceManager DomainModel의 ResourceManager를 가져옵니다.ResourceManager가 아직 없으면 새로 만들어집니다. (DomainModel.ResourceManager을(를) 재정의함)
Public 속성정적 멤버 SingletonResourceManager 이 도메인 모델의 Singleton ResourceManager를 가져옵니다.
Public 속성 Store 이 도메인 모델의 인스턴스를 포함하는 저장소를 가져옵니다. (DomainModel에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 CreateElement 지정된 형식의 요소를 만듭니다. (DomainModel.CreateElement(Partition, Type, array<PropertyAssignment[])을(를) 재정의함)
Public 메서드 CreateElementLink 지정된 형식의 요소 링크를 만듭니다. (DomainModel.CreateElementLink(Partition, Type, array<RoleAssignment[], array<PropertyAssignment[])을(를) 재정의함)
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Public 메서드 GetClosureFilter 특정 클로저 형식에 해당하는 IElementVisitorFilter를 반환합니다. (DomainModel에서 상속됨)
Public 메서드 GetClosureVisitor 특정 클로저 형식에 해당하는 IElementVisitor를 반환합니다. (DomainModel에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

필드

  이름 설명
Public 필드정적 멤버 DomainModelId 핵심 도메인 모델에 대한 도메인 모델 ID를 나타냅니다.
Public 필드정적 멤버 ResourceBaseName 이 모델 리소스의 기본 이름입니다.

위쪽

설명

이 핵심 도메인에서 모든 도메인 모델을 사용 하는 모델과 같은 요소에 대 한 정의 제공 ModelElementElementLink.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.Modeling 네임스페이스