Show / Hide Table of Contents

Interface INamedElement

Contract for named elements.

Inherited Members
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
public interface INamedElement : IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Properties

| Improve this Doc View Source

Annotations

Gets the annotations of this model element.

Declaration
IEnumerable<IAnnotation> Annotations { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IAnnotation>

The model element annotations.

| Improve this Doc View Source

DeclaringContainer

Gets the declaring container element.

Declaration
IModelElement DeclaringContainer { get; }
Property Value
Type Description
IModelElement

The declaring container element.

| Improve this Doc View Source

FullName

Gets the fully qualified name, starting from the root model space.

Declaration
string FullName { get; }
Property Value
Type Description
System.String

The fully qualified name.

Remarks

The fully qualified name is built up of qualified names separated by "/".

Examples

/: identifies the root model space.

/^AppLayer: identifies the AppLayer dimension.

/:Primitives:Kephas:Core:Main:Global/String: identifies the String classifier within the :Primitives:Kephas:Core:Main:Global projection.

/:MyModel:MyCompany:Contacts:Main:Domain/Contact/Name: identifies the Name member of the Contact classifier within the :MyModel:MyCompany:Contacts:Main:Domain projection.

/:MyModel:MyCompany:Contacts:Main:Domain/Contact/Name/@Required: identifies the Required attribute of the Name member of the Contact classifier within the :MyModel:MyCompany:Contacts:Main:Domain projection.

| Improve this Doc View Source

IsInherited

Gets a value indicating whether this element is inherited.

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

true if the model element is inherited, false if not.

| Improve this Doc View Source

ModelSpace

Gets the model space.

Declaration
IModelSpace ModelSpace { get; }
Property Value
Type Description
IModelSpace

The model space.

| Improve this Doc View Source

QualifiedFullName

Gets the qualified name of the element.

Declaration
string QualifiedFullName { get; }
Property Value
Type Description
System.String

The qualified name of the element.

Remarks

The qualified name is unique within the container's members. Some elements have the qualified name the same as their name, but others will use a discriminator prefix to avoid name collisions. For example, annotations use the &quot;@" discriminator, dimensions use "^", and projections use ":".

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