Class ActivityContext
An activity context.
Implements
System.Dynamic.IDynamicMetaObjectProvider
    
    
    System.IDisposable
  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)
    
    
      System.Object.ToString()
    
  Namespace: Kephas.Workflow
Assembly: Kephas.Workflow.dll
Syntax
public class ActivityContext : Context, IActivityContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposableConstructors
| Improve this Doc View SourceActivityContext(ICompositionContext, IWorkflowProcessor)
Initializes a new instance of the ActivityContext class.
Declaration
public ActivityContext(ICompositionContext compositionContext, IWorkflowProcessor workflowProcessor)Parameters
| Type | Name | Description | 
|---|---|---|
| ICompositionContext | compositionContext | Context for the composition. | 
| IWorkflowProcessor | workflowProcessor | The workflow processor. | 
ActivityContext(IActivityContext)
Initializes a new instance of the ActivityContext class.
Declaration
public ActivityContext(IActivityContext parentContext)Parameters
| Type | Name | Description | 
|---|---|---|
| IActivityContext | parentContext | Optional. Context for the parent. | 
Properties
| Improve this Doc View SourceActivity
Gets or sets the activity being executed.
Declaration
public IActivity Activity { get; set; }Property Value
| Type | Description | 
|---|---|
| IActivity | The activity being executed. | 
Exception
Gets or sets the execution exception.
Declaration
public Exception Exception { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Exception | The execution exception. | 
Result
Gets or sets the execution result.
Declaration
public object Result { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Object | The execution result. | 
WorkflowProcessor
Gets the workflow processor.
Declaration
public IWorkflowProcessor WorkflowProcessor { get; }Property Value
| Type | Description | 
|---|---|
| IWorkflowProcessor | The workflow processor. | 
Implements
      System.Dynamic.IDynamicMetaObjectProvider
  
  
  
  
      System.IDisposable