/TinyWorkflow

Little workflow engine with fluent definition

Primary LanguageC#MIT LicenseMIT

#TinyWorkflow GitHub release license

##Definition

This is a little project for a simple but usefull workflow engine. This workflow engine support While, Foreach, If, basic actions.

The project is provided with unit tests.

A technical blog post is available here : Full documentation

##Installation

Just download the last binaries and add it as reference to your project. First workflow

Your first definition TinyWorkflow is like :

 Workflow<SimpleState> workflow = new Workflow<SimpleState>()
                .Do(EasyAction)
 workflow.Start(new SimpleState());

EasyAction is a method like :

public void EasyAction(SimpleState state)
{
    //Your code here
}

And SimpleState is a simple class :

public class SimpleState
{
    //Your statefull content here
}