C# 클래스 Sequencing.WeatherApp.Controllers.WeatherUnderground.WeatherWorker

WeatherWorker performs queries against WeatherUnderground service
파일 보기 프로젝트 열기: SequencingDOTcom/Weather-My-Way-RTP-app 1 사용 예제들

공개 메소드들

메소드 설명
ConvertFromIDToName ( string cityID ) : string

Converts location ID to its name

ConvertFromNameToID ( string cityName ) : string

Converts location name to its ID

GetConditions ( string city ) : CurrentObservationRoot
GetForecast10 ( string city ) : Forecast10Root
WeatherParser ( string city ) : LocationVerifier.RootObject.RESULT
WeatherWorker ( string userName ) : System

비공개 메소드들

메소드 설명
GetForecast10Impl ( string city ) : Forecast10Root

메소드 상세

ConvertFromIDToName() 공개 정적인 메소드

Converts location ID to its name
public static ConvertFromIDToName ( string cityID ) : string
cityID string
리턴 string

ConvertFromNameToID() 공개 정적인 메소드

Converts location name to its ID
public static ConvertFromNameToID ( string cityName ) : string
cityName string
리턴 string

GetConditions() 공개 정적인 메소드

public static GetConditions ( string city ) : CurrentObservationRoot
city string
리턴 CurrentObservationRoot

GetForecast10() 공개 메소드

public GetForecast10 ( string city ) : Forecast10Root
city string
리턴 Forecast10Root

WeatherParser() 공개 정적인 메소드

public static WeatherParser ( string city ) : LocationVerifier.RootObject.RESULT
city string
리턴 LocationVerifier.RootObject.RESULT

WeatherWorker() 공개 메소드

public WeatherWorker ( string userName ) : System
userName string
리턴 System