public void WriteLeavingPlaneToLog(object sender, LeaveEventArgs e) { WriteLeavingToLog(e.Message.plane1.Tag, e.Message.timestamp.ToString()); }
protected virtual void OnRaisedLeaveEvent(LeaveEventArgs e) { RaisedLeaveEvent?.Invoke(this, e); }
public void HandleLeaveEvent(object sender, LeaveEventArgs e) { Console.WriteLine($"The plane {e.Message.plane1.Tag} has left the airspace, at {e.Message.plane1.TimeStamp}"); }