Exemplo n.º 1
0
 /// <summary>
 /// Create a TripEventArgs for a Trigger or Signal origin,
 /// with the given visitor identifier and origin info.
 /// </summary>
 /// <param name="visitorId"></param>
 /// <param name="tripOrigin"></param>
 public TripEventArgs(IDisposable visitorId, DataWaypoint tripOrigin)
 {
     VisitorIdentifier = visitorId;
     Waypoints.AddLast(tripOrigin);
 }
Exemplo n.º 2
0
 internal void Restart(DataWaypoint newOrigin)
 {
     Waypoints.Clear();
     Waypoints.AddLast(newOrigin);
 }