Esempio n. 1
0
 public void On(ISubscriptionContext <string> context, RideMatchedEvent evt)
 {
     Availability = null;
     CurrentRide  = evt;
 }
Esempio n. 2
0
 public void On(ISubscriptionContext <string> context, RideFinishedEvent evt)
 {
     CurrentRide = null;
 }
Esempio n. 3
0
 public void On(ISubscriptionContext <GeoLocation> context, RideMatchedEvent evt)
 {
     AvailableDrivers.Remove(evt.DriverId);
     AvailableRiders.Remove(evt.RiderId);
 }