public OfferMatchedState(Ridesharing.StateBase previous, IMatchedRideRelatedRequest match) : base(previous, match) { }
protected override void HandleMatched(IMatchedRideRelatedRequest match) { TransitionTo(new OfferMatchedState(this, match)); }
public WaitingForConfirmedState(Ridesharing.StateBase previous, IMatchedRideRelatedRequest match) : base(previous) { this.match = match; }
protected abstract void HandleMatched(IMatchedRideRelatedRequest match);
protected AbstractMatchedState(Ridesharing.StateBase previous, IMatchedRideRelatedRequest match) : base(previous) { this.match = match; }