public void Handle(ParticipantReplacedWithAlternate e) { if (Participants.ContainsKey(e.AlternateId)) { Participants[e.AlternateId].TeamId = e.TeamId; } if (Participants.ContainsKey(e.Id)) { Participants[e.Id].ReplacedBy = e.AlternateId; } }
public void Handle(ParticipantReplacedWithAlternate e) { Participants[e.Id].IsReplaced = true; }
public void Apply(ParticipantReplacedWithAlternate e) { ReplacedBy = e.AlternateId; }