Class ModelProjection
A model projection.
Inheritance
System.Object
System.Dynamic.DynamicObject
ModelProjection
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 ModelProjection : NamedElementBase<IModelProjection>, IConstructibleElement, IModelProjection, INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceModelProjection(IModelConstructionContext, String, String)
Initializes a new instance of the ModelProjection class.
Declaration
public ModelProjection(IModelConstructionContext constructionContext, string name, string aggregatedProjectionName)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.String | name | The model element name. |
System.String | aggregatedProjectionName | Name of the aggregated projection. |
Properties
| Improve this Doc View SourceAggregatedProjection
Gets the aggregated projection.
Declaration
public IModelProjection AggregatedProjection { get; }
Property Value
Type | Description |
---|---|
IModelProjection | The aggregated projection. |
AggregatedProjectionName
Gets the name of the aggregated projection.
Declaration
public string AggregatedProjectionName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the aggregated projection. |
Annotations
Gets the annotations of this model element.
Declaration
public override IEnumerable<IAnnotation> Annotations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IAnnotation> | The model element annotations. |
Overrides
Kephas.Model.Elements.NamedElementBase<Kephas.Model.IModelProjection>.Annotations
|
Improve this Doc
View Source
DimensionElements
Gets the dimension elements building this projection.
Declaration
public IModelDimensionElement[] DimensionElements { get; }
Property Value
Type | Description |
---|---|
IModelDimensionElement[] | The dimension elements. |
IsAggregated
Gets a value indicating whether this projection is the result of aggregating one or more projections.
Declaration
public bool IsAggregated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
| Improve this Doc View SourceAddPart(Object)
Adds a part to the aggregated element.
Declaration
protected override void AddPart(object part)
Parameters
Type | Name | Description |
---|---|---|
System.Object | part | The part to be added. |
Overrides
Kephas.Model.Elements.NamedElementBase<Kephas.Model.IModelProjection>.AddPart(System.Object)
Implements
System.Dynamic.IDynamicMetaObjectProvider