public MQTTCore.Device.Publisher GetPublisher(MQTTCore.Device.Publisher publisher) { return(_devices.Where(x => x == publisher).FirstOrDefault()); }
public void AddPublisher(MQTTCore.Device.Publisher publisher) { _devices.Add(publisher); }
public MQTTCore.Device.Publisher GetPublisher(MQTTCore.Device.Publisher publisher) { return(_devices.Where(x => x == publisher).FirstOrDefault()); }
public void AddPublisher(MQTTCore.Device.Publisher publisher) { _devices.Add(publisher); }