protected void OnOpened(UserEventArgs arg) { CallEvent(Opened, arg); }
protected void OnClosed(UserEventArgs arg) { CallEvent(Closed, arg); }
public void NotifyOrderStarted(object user, UserEventArgs args) { OrderStarted?.Invoke(user, args); }
private void NotifyUserCarArrived(object taxer, UserEventArgs args) { UserCarArrived?.Invoke(taxer, args); }
private void NotifyUserCarGone(object taxer, UserEventArgs args) { UserCarGone?.Invoke(taxer, args); }
private void NotifyParkTripEnded(object taxer, UserEventArgs args) { args._Client.TripSucceeded(); args._Taxer.Salary += args._Taxer.SalaryPerTrip; ParkTripEnded?.Invoke(taxer, args); }
private void NotifyParkTripStarted(object taxer, UserEventArgs args) { ParkTripStarted?.Invoke(taxer, args); }