mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
17 lines
427 B
C#
17 lines
427 B
C#
using System;
|
|
|
|
namespace MQTTnet.Extensions.ManagedClient
|
|
{
|
|
public class ManagedMqttApplicationMessage : IEquatable<ManagedMqttApplicationMessage>
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public MqttApplicationMessage ApplicationMessage { get; set; }
|
|
|
|
public bool Equals(ManagedMqttApplicationMessage other)
|
|
{
|
|
return Id.Equals(other.Id);
|
|
}
|
|
}
|
|
}
|