Show / Hide Table of Contents

Interface IRuntimeModelElementConstructor

Contract for element factories.

Namespace: Kephas.Model.Runtime.Construction
Assembly: Kephas.Model.dll
Syntax
public interface IRuntimeModelElementConstructor

Methods

| Improve this Doc View Source

TryComputeName(IModelConstructionContext, Object)

Tries to compute the name for the provided runtime element.

Declaration
string TryComputeName(IModelConstructionContext constructionContext, object runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

System.Object runtimeElement

The runtime element.

Returns
Type Description
System.String

A string containing the name, or null if the name could not be computed.

| Improve this Doc View Source

TryCreateModelElement(IModelConstructionContext, Object)

Tries to create an element information structure based on the provided runtime element information.

Declaration
INamedElement TryCreateModelElement(IModelConstructionContext constructionContext, object runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

System.Object runtimeElement

The runtime element.

Returns
Type Description
INamedElement

A new element information based on the provided runtime element information, or null if the runtime element information is not supported.

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