DomainElement 클래스

도메인 특정 언어 정의의 모든 구성 요소의 DomainClass DomainElement 추상 기본 클래스입니다.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement
      자세히...

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

구문

‘선언
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("a6d03d16-b388-4763-bd0b-c583085ef6c1")> _
<DomainModelOwnerAttribute(GetType(DslDefinitionModelDomainModel))> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public MustInherit Class DomainElement _
    Inherits ModelElement
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("a6d03d16-b388-4763-bd0b-c583085ef6c1")]
[DomainModelOwnerAttribute(typeof(DslDefinitionModelDomainModel))]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public abstract class DomainElement : ModelElement

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

생성자

  이름 설명
Protected 메서드 DomainElement 생성자입니다.

위쪽

속성

  이름 설명
Public 속성 Id 요소 ID를 가져옵니다. (ModelElement에서 상속됨)
Public 속성 IsActive IsActive 플래그 가져오고 요소가 활성화 되어 있는지 여부를 확인 하려면 확인 합니다. (ModelElement에서 상속됨)
Public 속성 IsDeleted IsDeleted 플래그 및 요소는 모델에서 삭제 되었는지 여부를 확인 하는 검사를 가져옵니다. (ModelElement에서 상속됨)
Public 속성 IsDeleting IsDeleting 플래그를 가져오고 요소 모델에서 현재 삭제 되 고 있는지 여부를 확인 합니다. (ModelElement에서 상속됨)
Public 속성 Notes Notes 도메인 속성의 값을 가져오거나 설정 합니다.이 요소와 관련 된 비공식 메모 합니다.
Public 속성 Partition 가져오거나는 Partition 는 요소가 포함 되어 있습니다. (ModelElement에서 상속됨)
Public 속성 Store 가져옵니다는 Store 는 요소가 포함 되어 있습니다. (ModelElement에서 상속됨)

위쪽

메서드

  이름 설명
Protected 메서드 CanMerge 원본 요소를이 요소에 추가할 수 있는지 확인 합니다. (ModelElement에서 상속됨)
Protected 메서드 ChooseMergeTarget(ElementGroup) 사용자가 복사, 끌기 또는 작성 하고자 하는 요소는 자식으로 허용 하도록 대상 요소를 선택 합니다. (ModelElement에서 상속됨)
Protected 메서드 ChooseMergeTarget(ElementGroupPrototype) 사용자가 복사, 끌기 또는 작성 하고자 하는 요소는 자식으로 허용 하도록 대상 요소를 선택 합니다. (ModelElement에서 상속됨)
Public 메서드 Copy() 모델에서 요소의 복사본을 만듭니다. (ModelElement에서 상속됨)
Public 메서드 Copy(IEnumerable<Guid>) 요소 및 자식 요소 및 링크를 만듭니다. (ModelElement에서 상속됨)
Public 메서드 Delete() 요소는 모델에서 삭제 됩니다. (ModelElement에서 상속됨)
Public 메서드 Delete(array<Guid[]) 요소는 모델에서 삭제 됩니다. (ModelElement에서 상속됨)
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetDomainClass 이 요소에 대해 가장 많이 파생 된 도메인 클래스를 가져옵니다. (ModelElement에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Protected 메서드 GetRoleCollection<TCollection, TElement>(Guid) 가져오거나 연결 된 요소 컬렉션을 만듭니다. (ModelElement에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Protected 메서드 MergeConfigure 모델 요소를 바로 병합 프로세스가 대상 요소에 관련 된 후 자체를 구성할 수 있습니다. (ModelElement에서 상속됨)
Protected 메서드 MergeDisconnect 소스 요소의 대상 요소에서 연결을 끊습니다. (ModelElement에서 상속됨)
Protected 메서드 MergeRelate 이 대상 요소에서 지정 된 원본 요소 사이 관계를 만듭니다. (ModelElement에서 상속됨)
Protected 메서드 OnCopy 복사본을 다른 요소와이 요소를 만들 때 호출 됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnDeleted 이 요소는 모델에서 삭제 될 때 호출 됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnDeleting 이 요소가 삭제 될 때 호출 됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnResurrected 이 요소를 모델에 다시 추가 될 때 호출 됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnRolePlayerPositionChanged 역할의 위치가 변경 될 때 호출 됩니다. (ModelElement에서 상속됨)
Protected 메서드 OnRolePlayerPositionChanging 역할 플레이어 위치가 변경 될 때 호출 됩니다. (ModelElement에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

확장 메서드

  이름 설명
Public 확장 메서드 AddExtension(Guid) 오버로드되었습니다. 이 모델 요소 식별 된 도메인 종류를 새로 인스턴스화된 확장명으로 확장 합니다.해당 형식의 확장 요소에 이미 있는 경우는 Invalidoperationexception이 throw 됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(Type) 오버로드되었습니다. 이 모델 요소에 지정 된 형식의 새로 인스턴스화된 확장자를 확장 합니다.해당 형식의 확장 요소에 이미 있는 경우는 Invalidoperationexception이 throw 됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(DomainClassInfo) 오버로드되었습니다. 이 도메인 지정 된 형식의 새로 인스턴스화된 확장명이 모델이 요소를 확장 합니다.해당 형식의 확장 요소에 이미 있는 경우는 Invalidoperationexception이 throw 됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension(ExtensionElement) 오버로드되었습니다. 특정 확장명을 가진이 모델 요소를 확장 합니다.같은 종류의 확장 요소에 이미 있는 경우는 Invalidoperationexception이 throw 됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 AddExtension<T>() 오버로드되었습니다. 이 특정 형식의 새로 인스턴스화된 확장명이 모델이 요소를 확장 합니다.같은 종류의 확장 요소에 이미 있는 경우는 Invalidoperationexception이 throw 됩니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 CanDelete 요소는 모델에서 삭제 됩니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 GetAllExtensions 열거를 폭 확장 요소 트리를 통해 첫 순회가 모델이 요소에 포함 된 수행을 반환 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetBaseElement 지정 된 모델 요소에 참여 하는 가상 MEL의 루트를 반환 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(Guid) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(Type) 오버로드되었습니다. ExtensionElement 지정 된 형식의이 모델 요소에 사용할 수 있는 확장을 볼 수 있습니다.다음 요소는 확장명이 없는 경우 Invalidoperationexception은 발생 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension(DomainClassInfo) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetExtension<T>() 오버로드되었습니다. ExtensionElement 지정 된 형식의이 모델 요소에 사용할 수 있는 확장을 볼 수 있습니다.다음 요소는 확장명이 없는 경우 Invalidoperationexception은 발생 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 GetLocks 이 요소에 대 한 잠금 플래그를 가져옵니다.이 요소가 들어 있는 파티션에 사용 된 잠금이 포함 됩니다. (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(Guid) 오버로드되었습니다. 이 모델 요소는 특정 형식의 Extensionelement에서 현재 확장 되지 여부를 쿼리 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(Type) 오버로드되었습니다. 이 모델 요소는 특정 형식의 Extensionelement에서 현재 확장 되지 여부를 쿼리 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsExtendedBy(DomainClassInfo) 오버로드되었습니다. 이 모델 요소는 특정 형식의 Extensionelement에서 현재 확장 되지 여부를 쿼리 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 IsLocked 이 요소는 지정 된 집합의 잠금 가지 여부 테스트 (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(Type) 오버로드되었습니다. 확장자가 특정 유형의이 모델 요소를 제거 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(Guid) 오버로드되었습니다. 확장 되는 특정 유형의 지정 된 모델 요소를 제거 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(DomainClassInfo) 오버로드되었습니다. 확장 되는 특정 유형의 지정 된 모델 요소를 제거 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 RemoveExtension(ExtensionElement) 오버로드되었습니다. 지정 된 Extensionelement이 모델이 요소 확장을 제거 합니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 SetLocks 이 요소의 잠금 플래그를 설정 합니다 (ImmutabilityExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(Guid) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(Type) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension(DomainClassInfo) 오버로드되었습니다. (ModelElementExtensionMethods에서 정의됨)
Public 확장 메서드 TryGetExtension<T>() 오버로드되었습니다. ExtensionElement 지정 된 형식의이 모델 요소에 사용할 수 있는 확장을 볼 수 있습니다.다음 확장명이 없는이 요소에 있는 경우 결과 null이 됩니다. (ModelElementExtensionMethods에서 정의됨)

위쪽

필드

  이름 설명
Public 필드정적 멤버 DomainClassId DomainElement 도메인 클래스 id입니다.
Public 필드정적 멤버 NotesDomainPropertyId Notes 도메인 속성 id입니다.

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 IMergeElements.CanMerge 이 요소는 프로토타입 내용으로 병합할 수 있습니다 경우 true를 반환 합니다. (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.ChooseMergeTarget(ElementGroup) (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.ChooseMergeTarget(ElementGroupPrototype) (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeConfigure (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeDisconnect (ModelElement에서 상속됨)
명시적 인터페이스 구현Private 메서드 IMergeElements.MergeRelate (ModelElement에서 상속됨)

위쪽

스레드로부터의 안전성

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

참고 항목

참조

Microsoft.VisualStudio.Modeling.DslDefinition 네임스페이스

상속 계층 구조

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.DslDefinition.DomainElement
      Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement
      Microsoft.VisualStudio.Modeling.DslDefinition.AttributeParameter
      Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
      Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
      Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMap
      Microsoft.VisualStudio.Modeling.DslDefinition.ConnectionBuilder
      Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
      Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMap
      Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementMap
      Microsoft.VisualStudio.Modeling.DslDefinition.DomainPath
      Microsoft.VisualStudio.Modeling.DslDefinition.DomainType
      Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor
      Microsoft.VisualStudio.Modeling.DslDefinition.Editor
      Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective
      Microsoft.VisualStudio.Modeling.DslDefinition.Explorer
      Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior
      Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerNodeSettings
      Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirective
      Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment
      Microsoft.VisualStudio.Modeling.DslDefinition.PropertyFilter
      Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPath
      Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirective
      Microsoft.VisualStudio.Modeling.DslDefinition.Tool
      Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTab
      Microsoft.VisualStudio.Modeling.DslDefinition.Validation
      Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData
      Microsoft.VisualStudio.Modeling.DslDefinition.XmlElementData
      Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior
      Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition