mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
18 lines
520 B
C#
18 lines
520 B
C#
using System;
|
|
|
|
namespace MQTTnet
|
|
{
|
|
public sealed class MqttApplicationMessageReceivedEventArgs : EventArgs
|
|
{
|
|
public MqttApplicationMessageReceivedEventArgs(string clientId, MqttApplicationMessage applicationMessage)
|
|
{
|
|
ClientId = clientId;
|
|
ApplicationMessage = applicationMessage ?? throw new ArgumentNullException(nameof(applicationMessage));
|
|
}
|
|
|
|
public string ClientId { get; }
|
|
|
|
public MqttApplicationMessage ApplicationMessage { get; }
|
|
}
|
|
}
|