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"); } }
private void Populator_NodeIndexed(object sender, NodeIndexedEvenArgs e) { _count++; if (_count % _factor == 0) { _context.Console.Write("|"); } }
//================================================================================================================= Logger private static void Populator_NodeIndexed(object sender, NodeIndexedEvenArgs e) { LogWriteLine(e.Path); }
private void Populator_NodeIndexed(object sender, NodeIndexedEvenArgs e) { _count++; }