|
@@ -2,10 +2,15 @@ |
|
|
|
|
|
|
|
|
namespace MQTTnet.Extensions.ManagedClient |
|
|
namespace MQTTnet.Extensions.ManagedClient |
|
|
{ |
|
|
{ |
|
|
public class ManagedMqttApplicationMessage |
|
|
|
|
|
|
|
|
public class ManagedMqttApplicationMessage : IEquatable<ManagedMqttApplicationMessage> |
|
|
{ |
|
|
{ |
|
|
public Guid Id { get; set; } = Guid.NewGuid(); |
|
|
public Guid Id { get; set; } = Guid.NewGuid(); |
|
|
|
|
|
|
|
|
public MqttApplicationMessage ApplicationMessage { get; set; } |
|
|
public MqttApplicationMessage ApplicationMessage { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public bool Equals(ManagedMqttApplicationMessage other) |
|
|
|
|
|
{ |
|
|
|
|
|
return Id.Equals(other.Id); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |