Show / Hide Table of Contents

Class ClassifierConstructor

A constructor for generic classifiers. This class cannot be inherited.

Inheritance
System.Object
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>
ClassifierConstructorBase<Classifier, IClassifier>
ClassifierConstructor
Implements
IRuntimeModelElementConstructor<Classifier, IClassifier, IRuntimeTypeInfo>
IRuntimeModelElementConstructor
Inherited Members
ClassifierConstructorBase<Classifier, IClassifier>.CanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
ClassifierConstructorBase<Classifier, IClassifier>.TryComputeNameCore(Object)
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ConstructModelElementContent(IModelConstructionContext, IRuntimeTypeInfo, Classifier)
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ComputeMembers(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ComputeMemberAnnotations(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ComputeMemberProperties(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ComputeMemberMethods(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.ElementNameDiscriminator
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.CanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<Classifier, IClassifier, IRuntimeTypeInfo>.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
Assembly: Kephas.Model.dll
Syntax
[ProcessingPriority(Priority.Low)]
public sealed class ClassifierConstructor : ClassifierConstructorBase<Classifier, IClassifier>, IRuntimeModelElementConstructor<Classifier, IClassifier, IRuntimeTypeInfo>, IRuntimeModelElementConstructor

Methods

| Improve this Doc View Source

CanCreateModelElement(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

truetrue if a model element can be created, false if not.

Overrides
Kephas.Model.Runtime.Construction.ClassifierConstructorBase<Kephas.Model.Elements.Classifier, Kephas.Model.IClassifier>.CanCreateModelElement(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)
| Improve this Doc View Source

TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)

Core implementation of trying to get the element information.

Declaration
protected override Classifier TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

IRuntimeTypeInfo runtimeElement

The runtime element.

Returns
Type Description
Classifier

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.Classifier, Kephas.Model.IClassifier, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)

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