Show / Hide Table of Contents

Class AttributeAnnotationConstructor

A default runtime factory for annotation information.

Inheritance
System.Object
NamedElementConstructorBase<Annotation, IAnnotation, System.Attribute>
AnnotationConstructorBase<Annotation, System.Attribute>
AttributeAnnotationConstructor
Implements
IRuntimeModelElementConstructor<Annotation, IAnnotation, System.Attribute>
IRuntimeModelElementConstructor
Inherited Members
AnnotationConstructorBase<Annotation, Attribute>.AnnotationDiscriminator
AnnotationConstructorBase<Annotation, Attribute>.ElementNameDiscriminator
AnnotationConstructorBase<Annotation, Attribute>.TryComputeNameCore(Object)
AnnotationConstructorBase<Annotation, Attribute>.ConstructModelElementContent(IModelConstructionContext, Attribute, Annotation)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.ElementNameDiscriminator
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.CanCreateModelElement(IModelConstructionContext, Attribute)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.TryCreateModelElementCore(IModelConstructionContext, Attribute)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.ConstructModelElementContent(IModelConstructionContext, Attribute, Annotation)
NamedElementConstructorBase<Annotation, IAnnotation, Attribute>.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.Model.Runtime.Construction.Annotations
Assembly: Kephas.Model.dll
Syntax
[ProcessingPriority(Priority.Low)]
public class AttributeAnnotationConstructor : AnnotationConstructorBase<Annotation, Attribute>, IRuntimeModelElementConstructor<Annotation, IAnnotation, Attribute>, IRuntimeModelElementConstructor

Methods

| Improve this Doc View Source

TryCreateModelElementCore(IModelConstructionContext, Attribute)

Core implementation of trying to get the element information.

Declaration
protected override Annotation TryCreateModelElementCore(IModelConstructionContext constructionContext, Attribute runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

System.Attribute runtimeElement

The runtime element.

Returns
Type Description
Annotation

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.Model.Elements.Annotation, Kephas.Model.IAnnotation, System.Attribute>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, System.Attribute)

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