AlphaFlattener\MetroDevice.cs (24)
39private DeviceState _state;
66_state = DeviceState.Init;
69private void AssertState(DeviceState state, DeviceState next)
76if (next != DeviceState.NoChange)
87AssertState(DeviceState.Init, DeviceState.DocStarted);
95AssertState(DeviceState.DocStarted, DeviceState.Init);
104_state = DeviceState.Init;
112AssertState(DeviceState.DocStarted, DeviceState.PageStarted);
130AssertState(DeviceState.PageStarted, DeviceState.DocStarted);
166AssertState(DeviceState.PageStarted, DeviceState.NoChange);
250AssertState(DeviceState.PageStarted, DeviceState.NoChange);
270AssertState(DeviceState.PageStarted, DeviceState.NoChange);
298AssertState(DeviceState.PageStarted, DeviceState.NoChange);
383AssertState(DeviceState.PageStarted, DeviceState.NoChange);