示例#1
0
        private void SetupFixture(PlayerFixture fixture, AddPlayerFixtureCommand command)
        {
            if (this._pendingFixture1 != null)
            {
                fixture.SetPendingFixture1(this._pendingFixture1, command.Entrant1.FixtureResultType.Value);
            }

            if (this._pendingFixture2 != null)
            {
                fixture.SetPendingFixture2(this._pendingFixture2, command.Entrant2.FixtureResultType.Value);
            }

            if (this._entrant1 != null)
            {
                fixture.SetEntrant1(this._entrant1);
            }

            if (this._entrant2 != null)
            {
                fixture.SetEntrant2(this._entrant2);
            }
        }