Class ModelDimension
Implementation of model dimensions.
Inheritance
System.Object
System.Dynamic.DynamicObject
ModelDimension
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 ModelDimension : ModelElementBase<IModelDimension>, IConstructibleElement, IModelDimension, IModelElement, INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceModelDimension(IModelConstructionContext, String)
Initializes a new instance of the ModelDimension class.
Declaration
public ModelDimension(IModelConstructionContext constructionContext, string name)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.String | name | The name. |
Properties
| Improve this Doc View SourceElements
Gets the dimension elements.
Declaration
public IEnumerable<IModelDimensionElement> Elements { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IModelDimensionElement> | The dimension elements. |
Index
Gets the dimension index.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The dimension index. |
IsAggregatable
Gets a value indicating whether this dimension is aggregatable.
Declaration
public bool IsAggregatable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
A dimension is aggregatable if its members contains parts of an element which at runtime will be aggregated into one integral element. For example, this helps modelling aplication layers or aspects which provide different logical views on the same element.
Methods
| Improve this Doc View SourceOnCompleteConstruction(IModelConstructionContext)
Called when the construction is complete.
Declaration
protected override void OnCompleteConstruction(IModelConstructionContext constructionContext)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
Overrides
Kephas.Model.Elements.ModelElementBase<Kephas.Model.IModelDimension>.OnCompleteConstruction(Kephas.Model.Construction.IModelConstructionContext)
Implements
System.Dynamic.IDynamicMetaObjectProvider