Esempio n. 1
0
 public PublicTransportTrip(
     DateTime startTime, Destination startLocation,
     TimeSpan estimatedDuration, Destination endLocation,
     string @operator, PublicTransportType type) : base(startTime, startLocation, estimatedDuration, endLocation)
 {
     Operator = @operator;
     Type     = type;
 }
Esempio n. 2
0
 public Builder AddType(PublicTransportType type)
 {
     this.type |= type;
     return(this);
 }