Class SystemPrimitiveTypesModelInfoProvider
A model information provider for simple types.
Inheritance
System.Object
SystemPrimitiveTypesModelInfoProvider
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
Assembly: Kephas.Model.dll
Syntax
public class SystemPrimitiveTypesModelInfoProvider : RuntimeModelInfoProviderBase<SystemPrimitiveTypesModelInfoProvider>, ILoggable, IModelInfoProvider
Constructors
| Improve this Doc View SourceSystemPrimitiveTypesModelInfoProvider(IRuntimeModelElementFactory)
Initializes a new instance of the SystemPrimitiveTypesModelInfoProvider class.
Declaration
public SystemPrimitiveTypesModelInfoProvider(IRuntimeModelElementFactory runtimeModelElementFactory)
Parameters
Type | Name | Description |
---|---|---|
IRuntimeModelElementFactory | runtimeModelElementFactory | The runtime model information factory. |
Methods
| Improve this Doc View SourceGetElementInfosCoreAsync(IModelConstructionContext, CancellationToken)
Gets the element infos used for building the model space.
Declaration
protected override Task<IEnumerable<IElementInfo>> GetElementInfosCoreAsync(IModelConstructionContext constructionContext, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<IElementInfo>> | An awaitable task promising an enumeration of element information. |
Overrides
Kephas.Model.Runtime.RuntimeModelInfoProviderBase<Kephas.Model.Runtime.SystemPrimitiveTypesModelInfoProvider>.GetElementInfosCoreAsync(Kephas.Model.Construction.IModelConstructionContext, System.Threading.CancellationToken)