public ScheduledService(ScheduledServiceId id, BusId busId, BusRouteId routeId)
 {
     Id       = id ?? throw new ArgumentNullException("id");
     BusId    = busId ?? throw new ArgumentNullException("busId");
     RouteId  = routeId ?? throw new ArgumentNullException("routeId");
     IsActive = false;
 }
Beispiel #2
0
 public BusRoute(BusRouteId id, string routeName)
 {
     Id   = id;
     Name = routeName;
 }