mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
18 lines
554 B
C#
18 lines
554 B
C#
using System;
|
|
|
|
namespace MQTTnet.Core.Adapter
|
|
{
|
|
public class MqttClientDisconnectedEventArgs : EventArgs
|
|
{
|
|
public MqttClientDisconnectedEventArgs(string identifier, IMqttCommunicationAdapter clientAdapter)
|
|
{
|
|
Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier));
|
|
ClientAdapter = clientAdapter ?? throw new ArgumentNullException(nameof(clientAdapter));
|
|
}
|
|
|
|
public string Identifier { get; }
|
|
|
|
public IMqttCommunicationAdapter ClientAdapter { get; }
|
|
}
|
|
}
|