Exemple #1
0
 public void DoWork()
 {
     ColorConsole.WriteLine(ConsoleColor.Blue, "ObjectPooledWorkService.GetData() completed.");
 }
Exemple #2
0
 public void DoWork()
 {
     ColorConsole.WriteLine(ConsoleColor.Yellow, "WorkService.GetData() completed.");
 }
Exemple #3
0
        public ObjectPooledWorkService()
        {
            Thread.Sleep(5000);

            ColorConsole.WriteLine(ConsoleColor.Blue, "ObjectPooledWorkService instance created.");
        }
Exemple #4
0
        public WorkService()
        {
            Thread.Sleep(5000);

            ColorConsole.WriteLine(ConsoleColor.Yellow, "WorkService instance created.");
        }