Show / Hide Table of Contents

Class AppServiceTypeConstructor

An application service type constructor.

Inheritance
System.Object
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>
ClassifierConstructorBase<AppServiceType, IAppServiceType>
AppServiceTypeConstructor
Implements
IRuntimeModelElementConstructor<AppServiceType, IAppServiceType, IRuntimeTypeInfo>
IRuntimeModelElementConstructor
Inherited Members
ClassifierConstructorBase<AppServiceType, IAppServiceType>.CanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
ClassifierConstructorBase<AppServiceType, IAppServiceType>.TryComputeNameCore(Object)
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ConstructModelElementContent(IModelConstructionContext, IRuntimeTypeInfo, AppServiceType)
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ComputeMembers(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ComputeMemberAnnotations(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ComputeMemberProperties(IModelConstructionContext, IRuntimeTypeInfo)
ModelElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ComputeMemberMethods(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.ElementNameDiscriminator
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.TryCreateModelElement(IModelConstructionContext, Object)
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.TryComputeName(IModelConstructionContext, Object)
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.CanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<AppServiceType, IAppServiceType, IRuntimeTypeInfo>.TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
NamedElementConstructorBase<AppServiceType, IAppServiceType, 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
public class AppServiceTypeConstructor : ClassifierConstructorBase<AppServiceType, IAppServiceType>, IRuntimeModelElementConstructor<AppServiceType, IAppServiceType, 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

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

Overrides
Kephas.Model.Runtime.Construction.ClassifierConstructorBase<Kephas.Model.Elements.AppServiceType, Kephas.Model.IAppServiceType>.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 AppServiceType TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

IRuntimeTypeInfo runtimeElement

The runtime element.

Returns
Type Description
AppServiceType

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.AppServiceType, Kephas.Model.IAppServiceType, 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