Class DefaultRuntimeModelElementFactory
The default runtime model element factory.
Inheritance
System.Object
DefaultRuntimeModelElementFactory
Implements
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 SourceDefaultRuntimeModelElementFactory(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 SourceTryCreateModelElement(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 |