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