Exemplo n.º 1
0
        static void Main(string[] args)
        {
            DirtyPool.AbelShowExample();

            Console.WriteLine("enter key to end");
            Console.ReadLine();
        }
Exemplo n.º 2
0
        public static void ShowExample()
        {
            DirtyPool dp = new DirtyPool();

            dp.DoIt();
            // Sleep long enough so not to kill the threads.
            Thread.Sleep(10000);
        }
Exemplo n.º 3
0
        public static void AbelShowExample()
        {
            List <string> list = new List <string>();

            for (int i = 0; i < 100; i++)
            {
                list.Add("test" + i);
            }
            DirtyPool dp = new DirtyPool();

            dp.IDList = list;
            dp.AbelTest();


            // Sleep long enough so not to kill the threads.
            Thread.Sleep(10000);
        }