Show / Hide Table of Contents

Class ModelDimensionElementConstructor

Runtime provider for model dimension element information.

Inheritance
System.Object
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>
ModelDimensionElementConstructor
Implements
IRuntimeModelElementConstructor<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>
IRuntimeModelElementConstructor
Inherited Members
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ConstructModelElementContent(IModelConstructionContext, IRuntimeTypeInfo, ModelDimensionElement)
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ComputeMembers(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ComputeMemberAnnotations(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ComputeMemberProperties(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ComputeMemberMethods(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.ElementNameDiscriminator
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.CanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<ModelDimensionElement, IModelDimensionElement, IRuntimeTypeInfo>.TryComputeNameCore(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)
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>, IRuntimeModelElementConstructor

Fields

| Improve this Doc View Source

DimensionElementNameDiscriminator

The dimension element name discriminator.

Declaration
public const string DimensionElementNameDiscriminator = "DimensionElement"
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

ElementNameDiscriminator

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 Source

ComputeDimensionName(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.

| Improve this Doc View Source

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 null if the name could not be computed.

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 null if the runtime element information is not supported.

Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Elements.ModelDimensionElement, Kephas.Model.IModelDimensionElement, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)

Implements

IRuntimeModelElementConstructor<TModel, TModelContract, TRuntime>
IRuntimeModelElementConstructor

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