Наследование: System.EventArgs
Пример #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");
     }
 }
Пример #2
0
        //================================================================================================================= Logger

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