Class KeyAnnotationConstructor
A key annotation constructor.
Inheritance
System.Object
KeyAnnotationConstructor
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.Data.Model.Runtime.Construction.Annotations
Assembly: Kephas.Data.Model.dll
Syntax
public class KeyAnnotationConstructor : AnnotationConstructorBase<KeyAnnotation, KeyAttribute>, IRuntimeModelElementConstructor<KeyAnnotation, IAnnotation, KeyAttribute>, IRuntimeModelElementConstructor
Methods
| Improve this Doc View SourceTryComputeNameCore(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.AnnotationConstructorBase<Kephas.Data.Model.Elements.Annotations.KeyAnnotation, Kephas.Data.Model.AttributedModel.KeyAttribute>.TryComputeNameCore(System.Object)
|
Improve this Doc
View Source
TryCreateModelElementCore(IModelConstructionContext, KeyAttribute)
Core implementation of trying to get the element information.
Declaration
protected override KeyAnnotation TryCreateModelElementCore(IModelConstructionContext constructionContext, KeyAttribute runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
KeyAttribute | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
KeyAnnotation | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Data.Model.Elements.Annotations.KeyAnnotation, Kephas.Model.IAnnotation, Kephas.Data.Model.AttributedModel.KeyAttribute>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Data.Model.AttributedModel.KeyAttribute)