Show / Hide Table of Contents

Interface IWorkflowProcessor

Singleton application service for processing activities.

Namespace: Kephas.Workflow
Assembly: Kephas.Workflow.dll
Syntax
[SingletonAppServiceContract]
public interface IWorkflowProcessor

Methods

| Improve this Doc View Source

ExecuteAsync(IActivity, Object, IExpando, IActivityContext, CancellationToken)

Executes the activity asynchronously, enabling the activity execution behaviors.

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>

A promise of the execution result.

Remarks

The provided target and arguments may overwrite those set in the activity.

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