AlphaFlattener\MetroDevice.cs (24)
38private DeviceState _state;
65_state = DeviceState.Init;
68private void AssertState(DeviceState state, DeviceState next)
75if (next != DeviceState.NoChange)
86AssertState(DeviceState.Init, DeviceState.DocStarted);
94AssertState(DeviceState.DocStarted, DeviceState.Init);
103_state = DeviceState.Init;
111AssertState(DeviceState.DocStarted, DeviceState.PageStarted);
129AssertState(DeviceState.PageStarted, DeviceState.DocStarted);
165AssertState(DeviceState.PageStarted, DeviceState.NoChange);
249AssertState(DeviceState.PageStarted, DeviceState.NoChange);
269AssertState(DeviceState.PageStarted, DeviceState.NoChange);
297AssertState(DeviceState.PageStarted, DeviceState.NoChange);
382AssertState(DeviceState.PageStarted, DeviceState.NoChange);