Show / Hide Table of Contents

Interface IRuntimeModelElementFactory

Contract for creating a model element based on the runtime element.

Namespace: Kephas.Model.Runtime.Construction
Assembly: Kephas.Model.dll
Syntax
[SingletonAppServiceContract]
public interface IRuntimeModelElementFactory

Methods

| Improve this Doc View Source

TryCreateModelElement(IModelConstructionContext, Object)

Tries to get the named element information from the provided runtime element.

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 named element information or null.

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