Appearance
RefreshFromSourceAsync Method
Definition
- Namespace:
JASE - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
sourceUrl | The 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
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
Returns
The loaded time zone mappings.