예제 #1
0
        static void Main(string[] args)
        {
            DirtyPool.AbelShowExample();

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

            dp.DoIt();
            // Sleep long enough so not to kill the threads.
            Thread.Sleep(10000);
        }
예제 #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);
        }