public bool Matches(PatrolRoute route)
 {
     return(route.Route.Count().Equals(Route.Count()) && route.Origin.Equals(Origin));
 }
Ejemplo n.º 2
0
 public PatrolRouteProposal(FacilityMap map, PatrolRoute route, Action <IEnumerable <Path> > onChange) :
     this(new CachedPathFinder(map), route.Route.Last().Destination, new ObservableList <Path>(route.Route.ToList(), onChange))
 {
 }