You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 line
427 B

  1. using System;
  2. namespace MQTTnet.Extensions.ManagedClient
  3. {
  4. public class ManagedMqttApplicationMessage : IEquatable<ManagedMqttApplicationMessage>
  5. {
  6. public Guid Id { get; set; } = Guid.NewGuid();
  7. public MqttApplicationMessage ApplicationMessage { get; set; }
  8. public bool Equals(ManagedMqttApplicationMessage other)
  9. {
  10. return Id.Equals(other.Id);
  11. }
  12. }
  13. }