March 2020
Intermediate to advanced
534 pages
14h 15m
English
What this process actually does is generate four classes. The main class is named ConVMSVehicleTableInspStateMachine, which is a concatenation of the table's name and the state machine's name. The other three classes are all prefixed with this class and allow typed data to be passed to the delegates that were written into this class.
The fact that we have a state machine does not prevent the user from manually changing the status field's value. It also does not stop us from manually changing the status in code. So, the restriction on the final status being final is only true when using the state machine.
There are two ways in which we can use the state machine:
Read now
Unlock full access