public void ApplyChange(AddMessageAndIncrementSequenceChange change) { sequence = change.Sequence; messages.TryAdd(change.Message.Id, change.Message); }
public void ApplyChange(AddMessageAndIncrementSequenceChange change) { this.messages.Add(change.Message); }