public QueuePoolEventArgs(QueuePoolHelper <T> queuePool, T message) { this.QueuePool = queuePool; this.Message = message; }
public QueuePoolExceptionEventArgs(QueuePoolHelper <T> queuePool, T message, System.Exception exception) { this.QueuePool = queuePool; this.Message = message; this.Exception = exception; }
static VarnishxHelper() { _QueuePoolHelper = new QueuePoolHelper <VarnishxUrl>(1); _QueuePoolHelper.SendMessage += new EventHandler <QueuePoolEventArgs <VarnishxUrl> >(VarnishxHelper._QueuePoolHelper_SendMessage); _QueuePoolHelper.StartProcess(3, 0); }