Skip to content

RefreshFromSourceAsync Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(CancellationToken cancellationToken = null)Downloads and reloads Windows-to-IANA time zone mappings from DefaultWindowsZonesSourceUrl.
Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null)Downloads and reloads Windows-to-IANA time zone mappings from the specified source URL.

Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null) ​

csharp
Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null)

Downloads and reloads Windows-to-IANA time zone mappings from the specified source URL.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
sourceUrlThe windowsZones.xml source URL to download.

Returns ​

The loaded time zone mappings.

Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(CancellationToken cancellationToken = null) ​

csharp
Task<IReadOnlyList<TimeZoneMap>> RefreshFromSourceAsync(CancellationToken cancellationToken = null)

Downloads and reloads Windows-to-IANA time zone mappings from DefaultWindowsZonesSourceUrl.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.

Returns ​

The loaded time zone mappings.