public void ApplyChange(AddMessageChange change) { if (this.messages.Contains(change.Message)) this.messages.Remove(change.Message); this.messages.Add(change.Message); }
public void ApplyChange(AddMessageChange change) { AddOrUpdateMessage(change.Message); }