Show / Hide Table of Contents

Interface IClassifier

Contract for classifiers.

Inherited Members
INamedElement.FullName
INamedElement.Annotations
INamedElement.DeclaringContainer
INamedElement.ModelSpace
INamedElement.IsInherited
IAggregatedElementInfo.Parts
ITypeInfo.Namespace
ITypeInfo.BaseTypes
ITypeInfo.GenericTypeParameters
ITypeInfo.GenericTypeArguments
ITypeInfo.GenericTypeDefinition
ITypeInfo.CreateInstance(IEnumerable<Object>)
ITypeInfo.MakeGenericType(IEnumerable<ITypeInfo>, IContext)
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 IClassifier : IModelElement, INamedElement, IAggregatedElementInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Properties

| Improve this Doc View Source

BaseClassifier

Gets the base classifier.

Declaration
IClassifier BaseClassifier { get; }
Property Value
Type Description
IClassifier

The base classifier.

| Improve this Doc View Source

BaseMixins

Gets the base mixins.

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

The base mixins.

| Improve this Doc View Source

IsAspect

Gets a value indicating whether this classifier is an aspect of other classifiers.

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

true if this classifier is an aspect of other classifiers, false if not.

| Improve this Doc View Source

IsMixin

Gets a value indicating whether this classifier is a mixin.

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

true if this classifier is a mixin, false if not.

| Improve this Doc View Source

Members

Gets the members of this model element.

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

The model element members.

| Improve this Doc View Source

Methods

Gets the classifier methods.

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

The classifier methods.

| Improve this Doc View Source

Projection

Gets the projection where the model element is defined.

Declaration
IModelProjection Projection { get; }
Property Value
Type Description
IModelProjection

The projection.

| Improve this Doc View Source

Properties

Gets the classifier properties.

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

The classifier properties.

| 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 ":".

Methods

| Improve this Doc View Source

GetMember(String, Boolean)

Gets the member with the specified qualified name.

Declaration
INamedElement GetMember(string qualifiedName, bool throwOnNotFound = true)
Parameters
Type Name Description
System.String qualifiedName

The qualified name of the member.

System.Boolean throwOnNotFound

If set to true and the member is not found, an exception occurs; otherwise null is returned if the member is not found.

Returns
Type Description
INamedElement

The member with the provided qualified name or null.

| Improve this Doc View Source

IsAspectOf(IClassifier)

Indicates whether this classifier is an aspect of the provided classifier.

Declaration
bool IsAspectOf(IClassifier classifier)
Parameters
Type Name Description
IClassifier classifier

The classifier.

Returns
Type Description
System.Boolean

true if this classifier is an aspect of the provided classifier, false if not.

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)
ModelElementExtensions.GetDeclaredMembers(IModelElement)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX