Show / Hide Table of Contents

Class RuntimeModelElementConfiguratorBase<TElement, TRuntimeElement, TConfigurator>

Base configurator for model elements.

Inheritance
System.Object
RuntimeModelElementConfiguratorBase<TElement, TRuntimeElement, TConfigurator>
ClassifierConfiguratorBase<TElement, TRuntimeElement, TConfigurator>
ModelDimensionElementConfiguratorBase<TRuntimeElement>
PropertyConfigurator
Implements
IRuntimeModelElementConfigurator<TElement, TRuntimeElement>
IRuntimeModelElementConfigurator
IElementConfigurator
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.Model.Runtime.Configuration
Assembly: Kephas.Model.dll
Syntax
public abstract class RuntimeModelElementConfiguratorBase<TElement, TRuntimeElement, TConfigurator> : IRuntimeModelElementConfigurator<TElement, TRuntimeElement>, IRuntimeModelElementConfigurator, IElementConfigurator where TElement : INamedElement where TConfigurator : IRuntimeModelElementConfigurator<TElement, TRuntimeElement>
Type Parameters
Name Description
TElement

The type of the element.

TRuntimeElement

Type of the runtime element.

TConfigurator

The type of the configurator.

Methods

| Improve this Doc View Source

AddAttribute<TAttribute>()

Adds an attribute to the configured element.

Declaration
public virtual TConfigurator AddAttribute<TAttribute>()

    where TAttribute : Attribute
Returns
Type Description
TConfigurator

A TConfigurator.

Type Parameters
Name Description
TAttribute

Type of the attribute.

| Improve this Doc View Source

AddConfiguration(Action<IModelConstructionContext, TElement>)

Adds an element configuration.

Declaration
protected void AddConfiguration(Action<IModelConstructionContext, TElement> config)
Parameters
Type Name Description
System.Action<IModelConstructionContext, TElement> config

The configuration.

| Improve this Doc View Source

AddMember(INamedElement)

Adds a member to the configured element.

Declaration
public virtual TConfigurator AddMember(INamedElement member)
Parameters
Type Name Description
INamedElement member

The member to be added.

Returns
Type Description
TConfigurator

This configurator.

| Improve this Doc View Source

AddMember(Object)

Adds a member out of the runtime element to the configured model element.

Declaration
public virtual TConfigurator AddMember(object runtimeElement)
Parameters
Type Name Description
System.Object runtimeElement

The runtime element.

Returns
Type Description
TConfigurator

This configurator.

| Improve this Doc View Source

Configure(IModelConstructionContext, TElement)

Configures the model element provided.

Declaration
public virtual void Configure(IModelConstructionContext constructionContext, TElement element)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The construction context.

TElement element

The model element to be configured.

Explicit Interface Implementations

| Improve this Doc View Source

IElementConfigurator.Configure(IModelConstructionContext, INamedElement)

Configures the model element provided.

Declaration
void IElementConfigurator.Configure(IModelConstructionContext constructionContext, INamedElement element)
Parameters
Type Name Description
IModelConstructionContext constructionContext

The construction context.

INamedElement element

The model element to be configured.

| Improve this Doc View Source

IRuntimeModelElementConfigurator.AddMember(INamedElement)

Adds a member to the configured element.

Declaration
IRuntimeModelElementConfigurator IRuntimeModelElementConfigurator.AddMember(INamedElement member)
Parameters
Type Name Description
INamedElement member

The member to be added.

Returns
Type Description
IRuntimeModelElementConfigurator

An IRuntimeModelElementConfigurator.

| Improve this Doc View Source

IRuntimeModelElementConfigurator.AddMember(Object)

Adds a member out of the runtime element to the configured model element.

Declaration
IRuntimeModelElementConfigurator IRuntimeModelElementConfigurator.AddMember(object runtimeElement)
Parameters
Type Name Description
System.Object runtimeElement

The runtime element.

Returns
Type Description
IRuntimeModelElementConfigurator

An IRuntimeModelElementConfigurator.

Implements

IRuntimeModelElementConfigurator<TElement, TRuntimeElement>
IRuntimeModelElementConfigurator
IElementConfigurator

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