Exemplo n.º 1
0
 private void HideStationsAndConnectionsThatIsNotOnTheSelectedPath()
 {
     StationConnections.Where(sc => sc.IsSelectedConnection == null)
     .ToList().ForEach(sc => { sc.IsSelectedConnection = false; });
     Stations.Where(s => s.IsSelectedStationInThePath == null)
     .ToList().ForEach(s => { s.IsSelectedStationInThePath = false; });
 }
Exemplo n.º 2
0
 private void ResetSelectedStationsAndStationConnections()
 {
     Stations.Where(s => s.IsSelectedStationInThePath == false | true)
     .ToList().ForEach(s => { s.IsSelectedStationInThePath = null; });
     StationConnections.Where(sc => sc.IsSelectedConnection == false | true)
     .ToList().ForEach(sc => { sc.IsSelectedConnection = null; });
 }