Show / Hide Table of Contents

Class KeyAnnotationConstructor

A key annotation constructor.

Inheritance
System.Object
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>
AnnotationConstructorBase<KeyAnnotation, KeyAttribute>
KeyAnnotationConstructor
Implements
IRuntimeModelElementConstructor<KeyAnnotation, IAnnotation, KeyAttribute>
IRuntimeModelElementConstructor
Inherited Members
AnnotationConstructorBase<KeyAnnotation, KeyAttribute>.AnnotationDiscriminator
AnnotationConstructorBase<KeyAnnotation, KeyAttribute>.ElementNameDiscriminator
AnnotationConstructorBase<KeyAnnotation, KeyAttribute>.TryComputeNameCore(Object)
AnnotationConstructorBase<KeyAnnotation, KeyAttribute>.ConstructModelElementContent(IModelConstructionContext, KeyAttribute, KeyAnnotation)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.ElementNameDiscriminator
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.CanCreateModelElement(IModelConstructionContext, KeyAttribute)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.TryCreateModelElementCore(IModelConstructionContext, KeyAttribute)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.ConstructModelElementContent(IModelConstructionContext, KeyAttribute, KeyAnnotation)
NamedElementConstructorBase<KeyAnnotation, IAnnotation, KeyAttribute>.TryComputeNameCore(Object)
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 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 null if the name could not be computed.

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 null if the runtime element information is not supported.

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)

Implements

IRuntimeModelElementConstructor<TModel, TModelContract, TRuntime>
IRuntimeModelElementConstructor

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