Class AnnotationSet
The AnnotationSet extension
[XmlNamespace("http://nmf.codeplex.com/nmeta/")]
[XmlNamespacePrefix("nmeta")]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//AnnotationSet")]
public class AnnotationSet : ModelElementExtension<IModelElement, AnnotationSet>, IModelElementExtension, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
AnnotationSet
- Implements
- Inherited Members
- Extension Methods
Constructors
AnnotationSet()
Creates a new instance
public AnnotationSet()
Properties
Annotations
The Annotations property
[Browsable(false)]
[XmlAttribute(false)]
[Containment]
public IOrderedSetExpression<IAnnotationEntry> Annotations { get; }
Property Value
Methods
FromModelElement(IModelElement)
Gets the AnnotationSet extension from the given model element
public static AnnotationSet FromModelElement(IModelElement parent)
Parameters
parent
IModelElementThe parent model element that may hold the extension
Returns
- AnnotationSet
The extension object or null, if the model element does not have this extension
GetExtension()
Gets the extension model element for the given model extension class
public override IExtension GetExtension()