예제 #1
0
        public void OnRunnerJoined(RunnerJoined ev)
        {
            var runner = new RaceRunner {
                Id = ev.RunnerId, Name = ev.RunnerName, Position = 0
            };

            this.Runners.Add(runner.Id, runner);
        }
예제 #2
0
 public void OnRunnerJoined(RunnerJoined ev)
 {
     var runner = new RaceRunner { Id = ev.RunnerId, Name = ev.RunnerName, Position = 0 };
     this.Runners.Add(runner.Id, runner);
 }