Exemplo n.º 1
0
 public HubTraceListener()
 {
     _loggingConnection = new Lazy <LoggingConnection>(true);
     queueBuffer        = new QueueBuffer();
     timer = new Timer(TimerCallback, null, 1000, Timeout.Infinite);
 }
Exemplo n.º 2
0
 public HubTraceListener()
 {
     _loggingConnection = new Lazy <LoggingConnection>(() => new LoggingConnection(this.Template, this.InstanceId), true);
     queueBuffer        = new QueueBuffer();
     timer = new Timer(TimerCallback, null, 1000, Timeout.Infinite);
 }