Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var controller = new IndexController();
            controller.IndexFile(@"data\TestData.txt");

            var output = new Output();
            output.Print(controller.IndexedLines);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var controller = new IndexController();
            var output     = new Output();

            controller.IndexedLines.ItemAdded += output.OnItemIndexed;

            controller.IndexFile(@"data\TestData.txt");
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            var controller = new IndexController();

            controller.IndexFile(@"data\TestData.txt");

            var output = new Output();

            output.Print(controller.IndexedLines);
        }