Show / Hide Table of Contents

Interface IActivityContext

Interface for workflow execution context.

Inherited Members
IContext.CompositionContext
IContext.AmbientServices
IContext.Identity
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
ILoggable.Logger
System.IDisposable.Dispose()
Namespace: Kephas.Workflow
Assembly: Kephas.Workflow.dll
Syntax
public interface IActivityContext : IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable

Properties

| Improve this Doc View Source

Activity

Gets or sets the activity being executed.

Declaration
IActivity Activity { get; set; }
Property Value
Type Description
IActivity

The activity being executed.

Remarks

The activity's input parameters are contained in the activity itself as members.

| Improve this Doc View Source

Exception

Gets or sets the execution exception.

Declaration
Exception Exception { get; set; }
Property Value
Type Description
System.Exception

The execution exception.

| Improve this Doc View Source

Result

Gets or sets the execution result.

Declaration
object Result { get; set; }
Property Value
Type Description
System.Object

The execution result.

Remarks

The result contains as values the activity's output parameters.

| Improve this Doc View Source

WorkflowProcessor

Gets the workflow processor.

Declaration
IWorkflowProcessor WorkflowProcessor { get; }
Property Value
Type Description
IWorkflowProcessor

The workflow processor.

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)
MessageBrokerExtensions.CreateBrokeredMessageBuilder(IContext)
ContextExtensions.InitialData(IContext)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<(Object entity, ChangeState changeState)>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<Object>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<IChangeStateTrackableEntityEntry>)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX