C# Class TimeZoneMapper.TZMappers.OnlineValuesTZMapper.TimedWebClient

Simple "wrapper class" providing timeouts.
Inheritance: System.Net.WebClient
Afficher le fichier Open project: RobThree/TimeZoneMapper

Méthodes publiques

Méthode Description
RetrieveCachedString ( Uri uri ) : string
TimedWebClient ( System.TimeSpan timeout, System.TimeSpan ttl, string cachedirectory ) : System

Méthodes protégées

Méthode Description
GetWebRequest ( Uri address ) : WebRequest

Private Methods

Méthode Description
IsFileExpired ( string path, System.TimeSpan ttl ) : bool

Method Details

GetWebRequest() protected méthode

protected GetWebRequest ( Uri address ) : WebRequest
address System.Uri
Résultat System.Net.WebRequest

RetrieveCachedString() public méthode

public RetrieveCachedString ( Uri uri ) : string
uri System.Uri
Résultat string

TimedWebClient() public méthode

public TimedWebClient ( System.TimeSpan timeout, System.TimeSpan ttl, string cachedirectory ) : System
timeout System.TimeSpan
ttl System.TimeSpan
cachedirectory string
Résultat System