using System.Collections.Generic; namespace MQTTnet.Packets { public sealed class MqttUnsubscribePacket : MqttBasePacket, IMqttPacketWithIdentifier { public ushort? PacketIdentifier { get; set; } public IList TopicFilters { get; set; } = new List(); public override string ToString() { var topicFiltersText = string.Join(",", TopicFilters); return "Unsubscribe: [PacketIdentifier=" + PacketIdentifier + "] [TopicFilters=" + topicFiltersText + "]"; } } }