Show / Hide Table of Contents

Interface IAnnotation

Contract for model annotations.

Inherited Members
INamedElement.QualifiedFullName
INamedElement.FullName
INamedElement.Annotations
INamedElement.DeclaringContainer
INamedElement.ModelSpace
INamedElement.IsInherited
IAggregatedElementInfo.Parts
IElementInfo.Name
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
IAttributeProvider.GetAttributes<TAttribute>()
Namespace: Kephas.Model
Assembly: Kephas.Model.dll
Syntax
[MemberNameDiscriminator("@")]
public interface IAnnotation : INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Remarks

Annotations have names starting with @ (the at sign).

Properties

| Improve this Doc View Source

AllowMultiple

Gets a value indicating whether multiple annotations of the same kind are allowed to be placed the same model element.

Declaration
bool AllowMultiple { get; }
Property Value
Type Description
System.Boolean

true if multiple annotations of the same kind are allowed; otherwise, false.

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX