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

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

Méthodes publiques

Méthode 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

Méthode Description
GetForecast10Impl ( string city ) : Forecast10Root

Method Details

ConvertFromIDToName() public static méthode

Converts location ID to its name
public static ConvertFromIDToName ( string cityID ) : string
cityID string
Résultat string

ConvertFromNameToID() public static méthode

Converts location name to its ID
public static ConvertFromNameToID ( string cityName ) : string
cityName string
Résultat string

GetConditions() public static méthode

public static GetConditions ( string city ) : CurrentObservationRoot
city string
Résultat CurrentObservationRoot

GetForecast10() public méthode

public GetForecast10 ( string city ) : Forecast10Root
city string
Résultat Forecast10Root

WeatherParser() public static méthode

public static WeatherParser ( string city ) : LocationVerifier.RootObject.RESULT
city string
Résultat LocationVerifier.RootObject.RESULT

WeatherWorker() public méthode

public WeatherWorker ( string userName ) : System
userName string
Résultat System