Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var settings = new Settings();
            var spec = new ProcessStartSpecification(args, settings);
            var notifiers = new List<INotifier> {new ConsoleNotifier(), new EmailNotifier(settings), new FileNotifier()};
            var storage = new HdStorage();
            var runner = new ConsoleProcessRunner(spec, storage, notifiers);

            var process = new ExternalProcess();
            runner.Start(process);
        }