Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            WorkflowEngine engine   = new WorkflowEngine();
            Workflow       workflow = new Workflow();

            workflow.AddActivity(new Upload());
            workflow.AddActivity(new ChangeStatus());
            workflow.AddActivity(new Email());
            workflow.AddActivity(new Encode());

            engine.Run(workflow);

            Console.ReadKey();
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     WorkflowEngine.Run(new Workflow());
     WorkflowEngine.Run(new Workflow1());
 }