Class ClassifierBuilderBase<TModel, TModelContract, TBuilder>
Base abstract builder for runtime classifier information.
Inheritance
System.Object
NamedElementBuilderBase<TModel, TModelContract, IRuntimeTypeInfo, TBuilder>
ModelElementBuilderBase<TModel, TModelContract, IRuntimeTypeInfo, TBuilder>
ClassifierBuilderBase<TModel, TModelContract, TBuilder>
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.Construction.Builders
Assembly: Kephas.Model.dll
Syntax
public abstract class ClassifierBuilderBase<TModel, TModelContract, TBuilder> : ModelElementBuilderBase<TModel, TModelContract, IRuntimeTypeInfo, TBuilder> where TModel : ClassifierBase<TModelContract> where TModelContract : IClassifier where TBuilder : ClassifierBuilderBase<TModel, TModelContract, TBuilder>
Type Parameters
Name | Description |
---|---|
TModel | Type of the model. |
TModelContract | Type of the model contract. |
TBuilder | Type of the builder. |
Constructors
| Improve this Doc View SourceClassifierBuilderBase(IModelConstructionContext, IRuntimeTypeInfo)
Initializes a new instance of the ClassifierBuilderBase<TModel, TModelContract, TBuilder> class.
Declaration
protected ClassifierBuilderBase(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Methods
| Improve this Doc View SourceAsMixin()
Marks the classifier as mixin.
Declaration
public TBuilder AsMixin()
Returns
Type | Description |
---|---|
TBuilder | This builder. |
InCoreProjection()
Places the element information in the core projection.
Declaration
public TBuilder InCoreProjection()
Returns
Type | Description |
---|---|
TBuilder | This builder. |
InProjection(Action<RuntimeProjectionBuilder>)
Places the element information in the specified projection.
Declaration
public TBuilder InProjection(Action<RuntimeProjectionBuilder> projectionBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RuntimeProjectionBuilder> | projectionBuilder | The projection builder. |
Returns
Type | Description |
---|---|
TBuilder | This builder. |