internal async Task ForceRemove(MqttManager mqttManager) { this.IsActive = false; await mqttManager.SendMessage(this.GetMqttTopic(), this.ToBytes()).ConfigureAwait(false); }
internal async Task SendMqttMessage(MqttManager mqttManager) { await mqttManager.SendMessage(this.GetMqttTopic(), this.ToBytes()).ConfigureAwait(false); }