Inheritance: System.EventArgs
Ejemplo n.º 1
0
 static void IndexBuilder_NodeIndexed(object sender, NodeIndexedEvenArgs e)
 {
     if (_count == 0)
     {
         Console.WriteLine("ok.");
         Console.WriteLine("Progress:");
         Console.WriteLine(_progressHead);
         _count++;
     }
     else if (_count < _versionCount - 1)
     {
         var p = ++_count / _factor;
         p = Math.Floor(p);
         var progress = Convert.ToInt32(p);
         if (progress == _progress)
             return;
         while (_progress < progress)
         {
             _progress++;
             Console.Write('|');
         }
     }
     else
     {
         Console.WriteLine('|');
         Console.WriteLine();
         Console.WriteLine("Finalizing");
     }
 }
Ejemplo n.º 2
0
        //================================================================================================================= Logger

        private static void Populator_NodeIndexed(object sender, NodeIndexedEvenArgs e)
        {
            LogWriteLine(e.Path);
        }