Beispiel #1
0
        static void Main(string[] args)
        {
            var workFlow = new WorkFlow();

            workFlow.AddToWorkflow(new UploadToCloud());
            workFlow.AddToWorkflow(new CallWebService());
            workFlow.AddToWorkflow(new NotifyOwner());
            workFlow.AddToWorkflow(new ProcessVideo());

            var engine = new WorkflowEngine();

            engine.Run(workFlow);
        }