Class ActivityType
Classifier for activities.
Inheritance
System.Object
System.Dynamic.DynamicObject
ActivityType
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.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)
Namespace: Kephas.Workflow.Model.Elements
Assembly: Kephas.Workflow.Model.dll
Syntax
public class ActivityType : ClassifierBase<IActivityType>, IConstructibleElement, IActivityType, IClassifier, IModelElement, INamedElement, IAggregatedElementInfo, IActivityInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceActivityType(IModelConstructionContext, String)
Initializes a new instance of the ActivityType class.
Declaration
public ActivityType(IModelConstructionContext constructionContext, string name)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.String | name | The name. |
Properties
| Improve this Doc View SourceParameters
Gets the parameters for controlling the activity.
Declaration
public IEnumerable<IParameterInfo> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IParameterInfo> | The parameters. |
ReturnType
Gets or sets the type of the return value.
Declaration
public ITypeInfo ReturnType { get; protected set; }
Property Value
Type | Description |
---|---|
ITypeInfo | The type of the return value. |
Methods
| Improve this Doc View SourceExecuteAsync(IActivity, Object, IExpando, IActivityContext, CancellationToken)
Executes the asynchronous operation.
Declaration
public virtual Task<object> ExecuteAsync(IActivity activity, object target, IExpando arguments, IActivityContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IActivity | activity | The activity. |
System.Object | target | Target for the. |
IExpando | arguments | The arguments. |
IActivityContext | context | The context. |
System.Threading.CancellationToken | cancellationToken | Optional. A token that allows processing to be cancelled. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> | An asynchronous result that yields the execute. |
OnCompleteConstruction(IModelConstructionContext)
Called when the construction is complete.
Declaration
protected override void OnCompleteConstruction(IModelConstructionContext constructionContext)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
Overrides
Kephas.Model.Elements.ClassifierBase<Kephas.Workflow.Model.IActivityType>.OnCompleteConstruction(Kephas.Model.Construction.IModelConstructionContext)
Implements
System.Dynamic.IDynamicMetaObjectProvider