RegionInfoHelper Class
Namespace: PTS.Globalization
Assembly: PTS.Globalization.dll
Syntax
public static class RegionInfoHelper
Inheritance
System.Object
RegionInfoHelper
Methods
ToCountryCode(RegionInfo)
Gets Country
Declaration
public static CountryCode ToCountryCode(this RegionInfo region)
Parameters
Type | Name | Description |
---|---|---|
System. |
region | The region to get the Country |
Returns
Type | Description |
---|---|
Country |
Country |
ToCurrencyCode(RegionInfo, Boolean)
Declaration
public static CurrencyCode ToCurrencyCode(this RegionInfo region, bool require = true)
Parameters
Type | Name | Description |
---|---|---|
System. |
region | |
System. |
require |
Returns
Type | Description |
---|---|
Currency |