Class ActivityTypeConstructor
An activity type constructor.
Inheritance
System.Object
ActivityTypeConstructor
Implements
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.Workflow.Model.Runtime.Construction
Assembly: Kephas.Workflow.Model.dll
Syntax
public class ActivityTypeConstructor : ClassifierConstructorBase<ActivityType, IActivityType>, IRuntimeModelElementConstructor<ActivityType, IActivityType, IRuntimeTypeInfo>, IRuntimeModelElementConstructor
Fields
| Improve this Doc View SourceActivityDiscriminator
The activity discriminator.
Declaration
public const string ActivityDiscriminator = "Activity"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceElementNameDiscriminator
Gets the element name discriminator.
Declaration
protected override string ElementNameDiscriminator { get; }
Property Value
Type | Description |
---|---|
System.String | The element name discriminator. |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Workflow.Model.Elements.ActivityType, Kephas.Workflow.Model.IActivityType, Kephas.Runtime.IRuntimeTypeInfo>.ElementNameDiscriminator
Remarks
This discriminator can be used as a suffix in the name to identify the element type.
Methods
| Improve this Doc View SourceCanCreateModelElement(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 |
|
Overrides
Kephas.Model.Runtime.Construction.ClassifierConstructorBase<Kephas.Workflow.Model.Elements.ActivityType, Kephas.Workflow.Model.IActivityType>.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 ActivityType TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
ActivityType | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Workflow.Model.Elements.ActivityType, Kephas.Workflow.Model.IActivityType, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)