public TestHandler()
 {
     handlerID = Interlocked.Increment(ref _clientID);
     testLogDelegate += testConsoleLogger;
     testLogDelegate.Invoke("New TestHandler instance created");
 }
Example #2
0
 public TestHandlerAsync()
 {
     handlerID = Interlocked.Increment(ref _clientID);
     logger   += TestConsoleLogger;
     logger.Invoke("New TestHandler instance created");
 }
Example #3
0
 public TestHandlerAsync()
 {
     handlerID = Interlocked.Increment(ref _clientID);
     logger += testConsoleLogger;
     logger.Invoke("New TestHandler instance created");
 }
Example #4
0
 public TestHandler()
 {
     handlerID        = Interlocked.Increment(ref _clientID);
     testLogDelegate += testConsoleLogger;
     testLogDelegate.Invoke("New TestHandler instance created");
 }