public void Start() { pairingSession.intervals.Clear(); pairingSession.StartNewInterval(Programmer.Neither); pairingSession.CurrentState = new RunningPairingSession(pairingSession); }
public void SwitchController(Programmer programmer) { if (programmer == pairingSession.CurrentInterval.Programmer) { return; } pairingSession.StopCurrentInterval(); pairingSession.StartNewInterval(programmer); }