Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.CAProvince.ReadProvincesListAsync Method

Retrieves the list of Canadian provinces in a format suitable for rendering in a dropdownlist component.

Class: YetaWF.Core.Components.CAProvince
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public static Task<List<SelectionItem<string>>> ReadProvincesListAsync();

Return Value

List of Canadian provinces.

Remarks

The list is cached. Any changes to the list require a site restart.

The list of provinces is located at .\CoreComponents\Core\Addons\_Templates\CAProvince\CAProvinces.txt

See Also YetaWF.Core.Components.CAProvince ClassYetaWF.Core Overview