/// <inheritdoc /> public void NotifyPerformanceReport(TaskProcessorPerformanceReport performanceInfo) { foreach (ITaskProcessorMessageBusSender mb in this) { mb.NotifyPerformanceReport(performanceInfo); } }
/// <summary> /// Initializes a new instance of the <see cref="TaskProcessorPerformanceEventArgs"/> class. /// </summary> /// <param name="performanceReport">The performance report for the task processor.</param> /// <exception cref="ArgumentNullException">Parameter <paramref name="performanceReport"/> is null.</exception> public TaskProcessorPerformanceEventArgs(TaskProcessorPerformanceReport performanceReport) { if (performanceReport == null) { throw new ArgumentNullException("performanceReport"); } this.performanceReport = performanceReport; }