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