Beispiel #1
0
        private static void Run(TradeQueue queue, ILoader loader)
        {
            var i = 0;

            while (_flag)
            {
                i++;
                Console.WriteLine("Reading ... " + i);
                queue.Queue(loader.GetNext());
            }
        }