Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.USState.ReadUSStatesListAsync Method

Returns the list of US states.

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

Syntax

public static Task<Dictionary<string,string>> ReadUSStatesListAsync();

Return Value

Returns a dictionary of US states. The key represents the state abbreviation. The value is the displayable state name.

Remarks

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

The list of US states is located at ./CoreComponents/Core/Addons/_Templates/USState/USStates.txt.

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