C# 클래스 CorvallisBusCoreNetCore.Util.ConnexionzXmlParser

Contains parsing logic to deal with the monstrosities that are CTS XML feeds.
파일 보기 프로젝트 열기: RikkiGibson/Corvallis-Bus-Server

공개 메소드들

메소드 설명
ParseConnexionzRoutes ( Stream xmlStream ) : IEnumerable

Given an stream of Corvallis Bus XML Data, this generates the Connexionz Route data.

ParseConnextionzPlatforms ( Stream xmlStream ) : ConnexionzPlatformET

비공개 메소드들

메소드 설명
ParseDestinations ( IEnumerable destinationsXml ) : IEnumerable

This converts the XML nodes corresponding to a Corvallis Bus Route Destination into Platform objects.

ParsePlatformET ( IEnumerable platformsXml ) : ConnexionzPlatformET
ParsePlatformsForRoutes ( IEnumerable platformsXml ) : IEnumerable

This converts the XML nodes corresponding to Corvallis Bus Platforms into Platform objects.

ParseRouteET ( IEnumerable routesXml ) : IEnumerable

메소드 상세

ParseConnexionzRoutes() 공개 정적인 메소드

Given an stream of Corvallis Bus XML Data, this generates the Connexionz Route data.
public static ParseConnexionzRoutes ( Stream xmlStream ) : IEnumerable
xmlStream System.IO.Stream
리턴 IEnumerable

ParseConnextionzPlatforms() 공개 정적인 메소드

public static ParseConnextionzPlatforms ( Stream xmlStream ) : ConnexionzPlatformET
xmlStream System.IO.Stream
리턴 CorvallisBusCoreNetCore.Models.Connexionz.ConnexionzPlatformET