public int IndexOf(string topic)
 {
     return(_list.IndexOf(new SubscriptionItem
     {
         QualityOfService = QualityOfService.AtLeastOnce,
         TopicName = topic
     }));
 }
Пример #2
0
 public int IndexOf(QualityOfService qos)
 {
     return(_list.IndexOf(qos));
 }