public void Handle(ParticipantRenamed e) { if (Participants.ContainsKey(e.Id)) { Participants[e.Id].Name = e.Name; } }
public void Handle(ParticipantRenamed e) { Participants[e.Id].Name = e.Name; }
public void Handle(ParticipantRenamed e) { var participant = Participants.Single(x => x.Id == e.Id); participant.Name = e.Name; }
public void Apply(ParticipantRenamed e) { Name = e.Name; }