Class ClassifierConstructorBase<TModel, TModelContract>
Base runtime provider for classifier information.
Inheritance
System.Object
NamedElementConstructorBase<TModel, TModelContract, IRuntimeTypeInfo>
ModelElementConstructorBase<TModel, TModelContract, IRuntimeTypeInfo>
ClassifierConstructorBase<TModel, TModelContract>
Implements
IRuntimeModelElementConstructor<TModel, TModelContract, IRuntimeTypeInfo>
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
public abstract class ClassifierConstructorBase<TModel, TModelContract> : ModelElementConstructorBase<TModel, TModelContract, IRuntimeTypeInfo>, IRuntimeModelElementConstructor<TModel, TModelContract, IRuntimeTypeInfo>, IRuntimeModelElementConstructor where TModel : ClassifierBase<TModelContract> where TModelContract : class, IClassifier
Type Parameters
Name | Description |
---|---|
TModel | The type of the element information. |
TModelContract | Type of the model contract. |
Methods
| Improve this Doc View SourceCanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
Determines whether a model element can be created for the provided runtime element.
Declaration
protected override bool CanCreateModelElement(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<TModel, TModelContract, Kephas.Runtime.IRuntimeTypeInfo>.CanCreateModelElement(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)
|
Improve this Doc
View Source
TryComputeNameCore(Object)
Computes the model element name based on the runtime element.
Declaration
protected override string TryComputeNameCore(object runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
System.Object | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
System.String | The element name, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<TModel, TModelContract, Kephas.Runtime.IRuntimeTypeInfo>.TryComputeNameCore(System.Object)