Class ModelDimensionElementConstructor
Runtime provider for model dimension element information.
Inheritance
System.Object
    
    
    ModelDimensionElementConstructor
  Implements
Inherited Members
      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)
    
    
      System.Object.ToString()
    
  Namespace: Kephas.Model.Runtime.Construction
Assembly: Kephas.Model.dll
Syntax
[ProcessingPriority(Priority.Highest)]
public class ModelDimensionElementConstructor : ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>, IRuntimeModelElementConstructor<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>, IRuntimeModelElementConstructorFields
| Improve this Doc View SourceDimensionElementNameDiscriminator
The dimension element name discriminator.
Declaration
public const string DimensionElementNameDiscriminator = "DimensionElement"Field Value
| Type | Description | 
|---|---|
| System.String | 
Properties
| Improve this Doc View SourceElementNameDiscriminator
Gets the element name discriminator.
Declaration
protected override string ElementNameDiscriminator { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The element name discriminator. | 
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Elements.ModelDimensionElement, Kephas.Model.IModelDimensionElement, Kephas.Runtime.IRuntimeTypeInfo>.ElementNameDiscriminator
  Remarks
This discriminator can be used as a suffix in the name to identify the element type.
Methods
| Improve this Doc View SourceComputeDimensionName(String)
Computes the name of the parent dimension based on the runtime element namespace.
Declaration
protected virtual string ComputeDimensionName(string ns)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | ns | The namenspace. | 
Returns
| Type | Description | 
|---|---|
| System.String | The dimension name. | 
TryComputeNameCore(Object)
Computes the model element name based on the runtime element.
Declaration
protected override string TryComputeNameCore(object runtimeElement)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | runtimeElement | The runtime element. | 
Returns
| Type | Description | 
|---|---|
| System.String | The element name, or  | 
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Elements.ModelDimensionElement, Kephas.Model.IModelDimensionElement, Kephas.Runtime.IRuntimeTypeInfo>.TryComputeNameCore(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
Tries to get the model dimension element information.
Declaration
protected override ModelDimensionElement TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)Parameters
| Type | Name | Description | 
|---|---|---|
| IModelConstructionContext | constructionContext | Context for the construction. | 
| IRuntimeTypeInfo | runtimeElement | The runtime element. | 
Returns
| Type | Description | 
|---|---|
| ModelDimensionElement | A new element information based on the provided runtime element information, or  | 
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Elements.ModelDimensionElement, Kephas.Model.IModelDimensionElement, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)