コード例 #1
0
        public void Start()
        {
            pairingSession.intervals.Clear();

            pairingSession.StartNewInterval(Programmer.Neither);
            pairingSession.CurrentState = new RunningPairingSession(pairingSession);
        }
コード例 #2
0
        public void SwitchController(Programmer programmer)
        {
            if (programmer == pairingSession.CurrentInterval.Programmer)
            {
                return;
            }

            pairingSession.StopCurrentInterval();
            pairingSession.StartNewInterval(programmer);
        }