Exemple #1
0
 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;
 }
Exemple #3
0
        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;
 }