C# Class Sequencing.WeatherApp.Controllers.WeatherUnderground.WeatherWorker

WeatherWorker performs queries against WeatherUnderground service
Mostra file Open project: SequencingDOTcom/Weather-My-Way-RTP-app Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetForecast10Impl ( string city ) : Forecast10Root

Method Details

ConvertFromIDToName() public static method

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

ConvertFromNameToID() public static method

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

GetConditions() public static method

public static GetConditions ( string city ) : CurrentObservationRoot
city string
return CurrentObservationRoot

GetForecast10() public method

public GetForecast10 ( string city ) : Forecast10Root
city string
return Forecast10Root

WeatherParser() public static method

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

WeatherWorker() public method

public WeatherWorker ( string userName ) : System
userName string
return System