public void AddMessage(Message message) { Messages.Add(message); if (!BoolOperator(true, false)) { } if (Filter(message)) { SMSAdded?.Invoke(message); } }
public void RaiseSMSAddedEvent(MyMessage message) { SMSAdded?.Invoke(message); }
public void AddMessage(Messages message) { MessagesList.Add(message); SMSAdded?.Invoke(message); }