private void MessageWasReceived(MqttSubscriptionMessage e) { this.MessageReceived.Invoke(this, e); }
public void AddMessage(MqttSubscriptionMessage message) { this._messages.Add(message); this.MessageWasReceived(message); }