public bool Contains(string topic) { return(_list.Contains(new SubscriptionItem { QualityOfService = QualityOfService.AtLeastOnce, TopicName = topic })); }
public bool Contains(QualityOfService qos) { return(_list.Contains(qos)); }
public bool Contains(string topic) { return(_list.Contains(new SubscriptionItem { QualityOfService = QualityOfService.AtLeastOnce, TopicName = topic })); }
public bool Contains(QualityOfService qos) { return(_list.Contains(qos)); }