Beispiel #1
0
        public void Start()
        {
            var logger = new ConsoleLogger();

            logger.Log("Starting all workflows...");

            var workflowProducer = new WorkflowProducer();
            var workflows        = workflowProducer.GetWorkflows();

            foreach (var workflow in workflows)
            {
                logger.Log("Starting workflow...");
                workflow.Run();
                logger.Log("Finished workflow");
            }

            logger.Log("Finished all workflows.");
        }
Beispiel #2
0
        public void Start()
        {
            var logger = new ConsoleLogger();

            logger.Log("Starting all workflows...");

            var workflowProducer = new WorkflowProducer();
            var workflows = workflowProducer.GetWorkflows();

            foreach (var workflow in workflows)
            {
                logger.Log("Starting workflow...");
                workflow.Run();
                logger.Log("Finished workflow");
            }

            logger.Log("Finished all workflows.");
        }