private BinaryState CoerceState(BinaryState state) { if (InvertValue) { return state == BinaryState.High ? BinaryState.Low : BinaryState.High; } return state; }