Class Annotation
Definition class for annotations.
Inheritance
System.Object
System.Dynamic.DynamicObject
Annotation
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Model.Elements
Assembly: Kephas.Model.dll
Syntax
public class Annotation : NamedElementBase<IAnnotation>, IConstructibleElement, IAnnotation, INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceAnnotation(IModelConstructionContext, String)
Initializes a new instance of the Annotation class.
Declaration
public Annotation(IModelConstructionContext constructionContext, string name)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.String | name | The model element name. |
Properties
| Improve this Doc View SourceAllowMultiple
Gets a value indicating whether multiple annotations of the same kind are allowed to be placed the same model element.
Declaration
public bool AllowMultiple { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If multiple annotations of the same kind are allowed, the qualified name will have a generated suffix to allow the annotation to be unique within the members collection.
Annotations
Gets the element annotations.
Declaration
public override IEnumerable<IAnnotation> Annotations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IAnnotation> | The element annotations. |
Overrides
Kephas.Model.Elements.NamedElementBase<Kephas.Model.IAnnotation>.Annotations
Implements
System.Dynamic.IDynamicMetaObjectProvider