Craig's Utility Library  4.0 Beta
Utilities.Workflow.Manager.WorkflowInvoker< T > Class Template Reference

Workflow invoker More...

Inheritance diagram for Utilities.Workflow.Manager.WorkflowInvoker< T >:
Utilities.Workflow.Manager.Interfaces.IWorkflowInvoker< T > Utilities.Workflow.Manager.Interfaces.IInvoker< T >

Public Member Functions

 WorkflowInvoker (IWorkflow< T > Workflow, IEnumerable< IConstraint< T >> Constraints)
 Initializes a new instance of the WorkflowInvoker<T> class. More...
 
Execute (T Value)
 Executes the Workflow on the specified value. More...
 

Properties

IEnumerable< IConstraint< T > > Constraints [get]
 Gets the constraints. More...
 
IWorkflow< T > Workflow [get]
 Gets the Workflow. More...
 
- Properties inherited from Utilities.Workflow.Manager.Interfaces.IWorkflowInvoker< T >
IEnumerable< IConstraint< T > > Constraints [get]
 Gets the constraints. More...
 
IWorkflow< T > Workflow [get]
 Gets the Workflow. More...
 

Detailed Description

Workflow invoker

Template Parameters
TData type

Definition at line 36 of file WorkflowInvoker.cs.

Constructor & Destructor Documentation

Utilities.Workflow.Manager.WorkflowInvoker< T >.WorkflowInvoker ( IWorkflow< T >  Workflow,
IEnumerable< IConstraint< T >>  Constraints 
)

Initializes a new instance of the WorkflowInvoker<T> class.

Parameters
WorkflowThe Workflow.
ConstraintsThe constraints.

Definition at line 43 of file WorkflowInvoker.cs.

Member Function Documentation

T Utilities.Workflow.Manager.WorkflowInvoker< T >.Execute ( Value)

Executes the Workflow on the specified value.

Parameters
ValueThe value.
Returns
The result of the Workflow

Implements Utilities.Workflow.Manager.Interfaces.IInvoker< T >.

Definition at line 66 of file WorkflowInvoker.cs.

Property Documentation

IEnumerable<IConstraint<T> > Utilities.Workflow.Manager.WorkflowInvoker< T >.Constraints
get

Gets the constraints.

The constraints.

Definition at line 53 of file WorkflowInvoker.cs.


The documentation for this class was generated from the following file: