Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var options = new RegExTractorOptions();
            if (CommandLine.Parser.Default.ParseArguments(args, options))
            {
                var workflow = new RegExTractorSimpleWorkflow();
                workflow.SingleFileCrawlFinished += workflow_SingleFileCrawlFinished;
                workflow.Process(options.Directory, options.Recursive, options.Filter, options.SearchTermInputFile, options.OutputFile, options.MaxThreads);
            }

            Console.WriteLine("Finished ... Press any key ...");
            Console.ReadKey();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var options = new RegExTractorOptions();

            if (CommandLine.Parser.Default.ParseArguments(args, options))
            {
                var workflow = new RegExTractorSimpleWorkflow();
                workflow.SingleFileCrawlFinished += workflow_SingleFileCrawlFinished;
                workflow.Process(options.Directory, options.Recursive, options.Filter, options.SearchTermInputFile, options.OutputFile, options.MaxThreads);
            }

            Console.WriteLine("Finished ... Press any key ...");
            Console.ReadKey();
        }