コード例 #1
0
ファイル: MatchedTrip.cs プロジェクト: Alibayev/SeekARide2
 public MatchedTrip(Location fromAddress, Location toAddress, TripInformation tripInfo, DateTime departureTime)
 {
     this.fromAddress     = fromAddress;
     this.toAddress       = toAddress;
     this.TripInformation = tripInfo;
     this.departureTime   = departureTime;
 }
コード例 #2
0
ファイル: Trip.cs プロジェクト: Alibayev/SeekARide2
 public Trip(Location From, Location To, DateTime TravelDateTime, TripType type, TripInformation tripInfo)
 {
     this.From            = From;
     this.To              = To;
     this.TravelDateTime  = TravelDateTime;
     this.Type            = type;
     this.TripInformation = tripInfo;
 }