您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MqttNetLogMessagePublishedEventArgs.cs 387 B

1234567891011121314
  1. using System;
  2. namespace MQTTnet.Diagnostics
  3. {
  4. public sealed class MqttNetLogMessagePublishedEventArgs : EventArgs
  5. {
  6. public MqttNetLogMessagePublishedEventArgs(MqttNetLogMessage logMessage)
  7. {
  8. TraceMessage = logMessage ?? throw new ArgumentNullException(nameof(logMessage));
  9. }
  10. public MqttNetLogMessage TraceMessage { get; }
  11. }
  12. }