MockLocaleLocation
public sealed class MockLocaleLocationA coherent project-supplied city, region and postal-code tuple.
Constructors
Section titled “Constructors”
MockLocaleLocation(string, string, string)
Section titled “MockLocaleLocation(string, string, string)”public MockLocaleLocation(string city, string region, string postalCode)Creates a city, region and postal-code tuple without formatting its values.
Parameters
| Name | Type | Description |
|---|---|---|
city | System.String | The city name to retain as supplied; definitions require a nonblank city when adding locations. |
region | System.String | The region value, with null stored as an empty string. |
postalCode | System.String | The postal-code value, with null stored as an empty string. |
Properties
Section titled “Properties”
public string City { get; }Returns
System.String
Region
Section titled “Region”public string Region { get; }Returns
System.String
PostalCode
Section titled “PostalCode”public string PostalCode { get; }Returns
System.String