Show / Hide Table of Contents

Class ModelElementConstructorBase<TModel, TModelContract, TRuntime>

Base runtime provider for model element information.

Inheritance
System.Object
NamedElementConstructorBase<TModel, TModelContract, TRuntime>
ModelElementConstructorBase<TModel, TModelContract, TRuntime>
ClassifierConstructorBase<TModel, TModelContract>
MethodConstructor
ModelDimensionConstructor
ModelDimensionElementConstructor
ParameterConstructor
PropertyConstructor
Implements
IRuntimeModelElementConstructor<TModel, TModelContract, TRuntime>
IRuntimeModelElementConstructor
Inherited Members
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.ElementNameDiscriminator
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.CanCreateModelElement(IModelConstructionContext, TRuntime)
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.TryCreateModelElementCore(IModelConstructionContext, TRuntime)
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.ConstructModelElementContent(IModelConstructionContext, TRuntime, TModel)
NamedElementConstructorBase<TModel, TModelContract, TRuntime>.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
public abstract class ModelElementConstructorBase<TModel, TModelContract, TRuntime> : NamedElementConstructorBase<TModel, TModelContract, TRuntime>, IRuntimeModelElementConstructor<TModel, TModelContract, TRuntime>, IRuntimeModelElementConstructor where TModel : ModelElementBase<TModelContract> where TModelContract : class, IModelElement where TRuntime : class, IElementInfo, IRuntimeElementInfo
Type Parameters
Name Description
TModel

The type of the element information.

TModelContract

Type of the model contract.

TRuntime

The type of the runtime information.

Methods

| Improve this Doc View Source

ComputeMemberAnnotations(IModelConstructionContext, TRuntime)

Computes the member annotations from the runtime element.

Declaration
protected virtual IEnumerable<INamedElement> ComputeMemberAnnotations(IModelConstructionContext constructionContext, TRuntime runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The model construction context.

TRuntime runtimeElement

The runtime member information.

Returns
Type Description
System.Collections.Generic.IEnumerable<INamedElement>

An enumeration of INamedElement.

| Improve this Doc View Source

ComputeMemberMethods(IModelConstructionContext, TRuntime)

Computes the member properties from the runtime element.

Declaration
protected virtual IEnumerable<INamedElement> ComputeMemberMethods(IModelConstructionContext constructionContext, TRuntime runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The model construction context.

TRuntime runtimeElement

The runtime member information.

Returns
Type Description
System.Collections.Generic.IEnumerable<INamedElement>

An enumeration of INamedElement.

| Improve this Doc View Source

ComputeMemberProperties(IModelConstructionContext, TRuntime)

Computes the member properties from the runtime element.

Declaration
protected virtual IEnumerable<INamedElement> ComputeMemberProperties(IModelConstructionContext constructionContext, TRuntime runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The model construction context.

TRuntime runtimeElement

The runtime member information.

Returns
Type Description
System.Collections.Generic.IEnumerable<INamedElement>

An enumeration of INamedElement.

| Improve this Doc View Source

ComputeMembers(IModelConstructionContext, TRuntime)

Computes the members from the runtime element.

Declaration
protected virtual IEnumerable<INamedElement> ComputeMembers(IModelConstructionContext constructionContext, TRuntime runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The model construction context.

TRuntime runtimeElement

The runtime member information.

Returns
Type Description
System.Collections.Generic.IEnumerable<INamedElement>

An enumeration of INamedElement.

| Improve this Doc View Source

ConstructModelElementContent(IModelConstructionContext, TRuntime, TModel)

Constructs the model element content.

Declaration
protected override void ConstructModelElementContent(IModelConstructionContext constructionContext, TRuntime runtimeElement, TModel element)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

TRuntime runtimeElement

The runtime element.

TModel element

The element being constructed.

Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<TModel, TModelContract, TRuntime>.ConstructModelElementContent(Kephas.Model.Construction.IModelConstructionContext, TRuntime, TModel)

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