Esempio n. 1
0
        public void Handle(MatchCompleted e)
        {
            var match = Tournaments
                        .SelectMany(x => x.DivisionSchedules)
                        .SelectMany(x => x.Games)
                        .SingleOrDefault(x => x.Id == e.Id);

            match.IsComplete = true;
        }
Esempio n. 2
0
 public void Apply(MatchCompleted e)
 {
     IsComplete = true;
 }
Esempio n. 3
0
        public void Handle(MatchCompleted e)
        {
            var match = Matches[e.Id];

            match.IsComplete = true;
        }