C# Класс TimeZoneMapper.TZMappers.OnlineValuesTZMapper

Provides TimeZoneID mapping based on a current ("dynamic") resource.
Наследование: BaseTZMapper, TimeZoneMapper.TZMappers.ITZMapper
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DEFAULTCACHETTL System.TimeSpan

Открытые методы

Метод Описание
OnlineValuesTZMapper ( ) : System

Initializes a new instance of an OnlineValuesTZMapper with default timeout of 5 seconds and DEFAULTRESOURCEURL as resourceURL.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( System.TimeSpan timeout ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and DEFAULTRESOURCEURL as resourceURL.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri, System.TimeSpan cachettl ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

The default cache directory used is retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri, System.TimeSpan cachettl, string cachedirectory ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

OnlineValuesTZMapper ( System.TimeSpan timeout, string resourceurl ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURL.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( int timeout ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and DEFAULTRESOURCEURL as resourceURL.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( int timeout, Uri resourceuri ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( int timeout, Uri resourceuri, System.TimeSpan cachettl ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

The default cache directory used is retrieved from Path.GetTempPath.

OnlineValuesTZMapper ( int timeout, Uri resourceuri, System.TimeSpan cachettl, string cachedirectory ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.

OnlineValuesTZMapper ( int timeout, string resourceurl ) : System

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURL.

By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.

Описание методов

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with default timeout of 5 seconds and DEFAULTRESOURCEURL as resourceURL.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( ) : System
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and DEFAULTRESOURCEURL as resourceURL.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( System.TimeSpan timeout ) : System
timeout System.TimeSpan The length of time before the request times out.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri ) : System
timeout System.TimeSpan The length of time before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
The default cache directory used is retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri, System.TimeSpan cachettl ) : System
timeout System.TimeSpan The length of time before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
cachettl System.TimeSpan /// Expiry time for downloaded data; unless this TTL has expired a cached version will be used. ///
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
public OnlineValuesTZMapper ( System.TimeSpan timeout, Uri resourceuri, System.TimeSpan cachettl, string cachedirectory ) : System
timeout System.TimeSpan The length of time, in milliseconds, before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
cachettl System.TimeSpan /// Expiry time for downloaded data; unless this TTL has expired a cached version will be used. ///
cachedirectory string The directory to use to store a cached version of the data.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURL.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( System.TimeSpan timeout, string resourceurl ) : System
timeout System.TimeSpan The length of time before the request times out.
resourceurl string The URL to use when retrieving CLDR data.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and DEFAULTRESOURCEURL as resourceURL.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( int timeout ) : System
timeout int The length of time, in milliseconds, before the request times out.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( int timeout, Uri resourceuri ) : System
timeout int The length of time, in milliseconds, before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
The default cache directory used is retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( int timeout, Uri resourceuri, System.TimeSpan cachettl ) : System
timeout int The length of time, in milliseconds, before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
cachettl System.TimeSpan /// Expiry time for downloaded data; unless this TTL has expired a cached version will be used. ///
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURI.
public OnlineValuesTZMapper ( int timeout, Uri resourceuri, System.TimeSpan cachettl, string cachedirectory ) : System
timeout int The length of time before the request times out.
resourceuri System.Uri The URI to use when retrieving CLDR data.
cachettl System.TimeSpan /// Expiry time for downloaded data; unless this TTL has expired a cached version will be used. ///
cachedirectory string The directory to use to store a cached version of the data.
Результат System

OnlineValuesTZMapper() публичный Метод

Initializes a new instance of an OnlineValuesTZMapper with the specified timeout and resourceURL.
By default, the data retrieved is cached for the default cache TTL time in the user's temporary folder retrieved from Path.GetTempPath.
public OnlineValuesTZMapper ( int timeout, string resourceurl ) : System
timeout int The length of time, in milliseconds, before the request times out.
resourceurl string The URL to use when retrieving CLDR data.
Результат System

Описание свойств

DEFAULTCACHETTL публичное статическое свойство

Default cache TTL time.
public static TimeSpan,System DEFAULTCACHETTL
Результат System.TimeSpan