public ApprovedState(OrderState orderState) { _orderState = orderState; Approve(); }
public RegisteredState(OrderState orderState) { _orderState = orderState; Register(); }
public DispatchedState(OrderState orderState) { _orderState = orderState; Dispatch(); }
public NewOrder(OrderState orderState) { _orderState = orderState; NewOrderPlaced(); }