Show / Hide Table of Contents

Class DefaultRuntimeModelElementFactory

The default runtime model element factory.

Inheritance
System.Object
DefaultRuntimeModelElementFactory
Implements
IRuntimeModelElementFactory
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
[OverridePriority(Priority.Low)]
public class DefaultRuntimeModelElementFactory : IRuntimeModelElementFactory

Constructors

| Improve this Doc View Source

DefaultRuntimeModelElementFactory(ICollection<IExportFactory<IRuntimeModelElementConstructor, RuntimeModelElementConstructorMetadata>>, ICollection<IExportFactory<IRuntimeModelElementConfigurator, RuntimeModelElementConfiguratorMetadata>>)

Initializes a new instance of the DefaultRuntimeModelElementFactory class.

Declaration
public DefaultRuntimeModelElementFactory(ICollection<IExportFactory<IRuntimeModelElementConstructor, RuntimeModelElementConstructorMetadata>> modelElementConstructors, ICollection<IExportFactory<IRuntimeModelElementConfigurator, RuntimeModelElementConfiguratorMetadata>> modelElementConfigurators)
Parameters
Type Name Description
System.Collections.Generic.ICollection<IExportFactory<IRuntimeModelElementConstructor, RuntimeModelElementConstructorMetadata>> modelElementConstructors

The element information export factories.

System.Collections.Generic.ICollection<IExportFactory<IRuntimeModelElementConfigurator, RuntimeModelElementConfiguratorMetadata>> modelElementConfigurators

The model element configurators.

Methods

| Improve this Doc View Source

TryCreateModelElement(IModelConstructionContext, Object)

Tries to get the named element information.

Declaration
public 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.

Implements

IRuntimeModelElementFactory

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