C# 클래스 CorvallisBusCoreNetCore.WebClients.ConnexionzClient

Exposes methods for getting transit data from Connexionz.
파일 보기 프로젝트 열기: RikkiGibson/Corvallis-Bus-Server 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Platforms AsyncLazy>
Routes AsyncLazy>

공개 메소드들

메소드 설명
GetPlatformEtaAsync ( int platformTag ) : Task

Gets the Connexionz-estimated time of arrival for a given stop.

비공개 메소드들

메소드 설명
GetPlatformsAsync ( ) : Task>

Downloads static Connexionz Platforms (Stops) info.

GetRoutesAsync ( ) : Task>

Downloads static Connexionz Route (e.g. Route 1, Route 8, etc) info.

메소드 상세

GetPlatformEtaAsync() 공개 정적인 메소드

Gets the Connexionz-estimated time of arrival for a given stop.
public static GetPlatformEtaAsync ( int platformTag ) : Task
platformTag int
리턴 Task

프로퍼티 상세

Platforms 공개적으로 정적으로 프로퍼티

Lazy-loaded platform data.
public static AsyncLazy> Platforms
리턴 AsyncLazy>

Routes 공개적으로 정적으로 프로퍼티

lazy-loaded Route data.
public static AsyncLazy> Routes
리턴 AsyncLazy>