C# 클래스 TimeZoneMapper.TZMappers.OnlineValuesTZMapper.TimedWebClient

Simple "wrapper class" providing timeouts.
상속: System.Net.WebClient
파일 보기 프로젝트 열기: RobThree/TimeZoneMapper

공개 메소드들

메소드 설명
RetrieveCachedString ( Uri uri ) : string
TimedWebClient ( System.TimeSpan timeout, System.TimeSpan ttl, string cachedirectory ) : System

보호된 메소드들

메소드 설명
GetWebRequest ( Uri address ) : WebRequest

비공개 메소드들

메소드 설명
IsFileExpired ( string path, System.TimeSpan ttl ) : bool

메소드 상세

GetWebRequest() 보호된 메소드

protected GetWebRequest ( Uri address ) : WebRequest
address System.Uri
리턴 System.Net.WebRequest

RetrieveCachedString() 공개 메소드

public RetrieveCachedString ( Uri uri ) : string
uri System.Uri
리턴 string

TimedWebClient() 공개 메소드

public TimedWebClient ( System.TimeSpan timeout, System.TimeSpan ttl, string cachedirectory ) : System
timeout System.TimeSpan
ttl System.TimeSpan
cachedirectory string
리턴 System