Exemplo n.º 1
0
        private ITrackMessageProvider DownloaderStub()
        {
            var directory = AppDomain.CurrentDomain.BaseDirectory;
            var path      = directory +
                            "/QSP/RouteFinding/Tracks/Pacots/Defense Internet NOTAM Service.html";

            var msg = new PacotsMessage(File.ReadAllText(path));

            return(new TrackMessageProvider(msg));
        }
Exemplo n.º 2
0
 public List <PacificTrack> Parse(PacotsMessage item)
 {
     return(item.EastboundTracks
            .SelectMany(i => CreateEastboundTracks(i))
            .ToList());
 }