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.
 
 
 
 

18 lines
500 B

  1. using System;
  2. namespace MQTTnet.Server
  3. {
  4. public class MqttClientUnsubscribedTopicEventArgs : EventArgs
  5. {
  6. public MqttClientUnsubscribedTopicEventArgs(string clientId, string topicFilter)
  7. {
  8. ClientId = clientId ?? throw new ArgumentNullException(nameof(clientId));
  9. TopicFilter = topicFilter ?? throw new ArgumentNullException(nameof(topicFilter));
  10. }
  11. public string ClientId { get; }
  12. public string TopicFilter { get; }
  13. }
  14. }