Interface IActivityInfo
Contract interface for activity metadata.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
Namespace: Kephas.Workflow.Reflection
Assembly: Kephas.Workflow.dll
Syntax
public interface IActivityInfo : ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Properties
| Improve this Doc View SourceParameters
Gets the method parameters.
Declaration
IEnumerable<IParameterInfo> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<IParameterInfo> | The method parameters. |
ReturnType
Gets the return type of the method.
Declaration
ITypeInfo ReturnType { get; }
Property Value
| Type | Description |
|---|---|
| ITypeInfo | The return type of the method. |
Methods
| Improve this Doc View SourceExecuteAsync(IActivity, Object, IExpando, IActivityContext, CancellationToken)
Executes the activity asynchronously.
Declaration
Task<object> ExecuteAsync(IActivity activity, object target, IExpando arguments, IActivityContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| IActivity | activity | The activity to execute. |
| System.Object | target | The activity target. |
| IExpando | arguments | The execution arguments. |
| IActivityContext | context | The execution context. |
| System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Object> | An asynchronous result that yields the output. |