Class CountryViewModel
Country ViewModel
Inheritance
System.Object
CountryViewModel
Namespace: Simplic.Framework.Base.Core
Assembly: Simplic.Framework.Base.dll
Syntax
public class CountryViewModel : ViewModelBase
Constructors
| Improve this Doc View SourceCountryViewModel()
Initializes a new CountryViewModel
Declaration
public CountryViewModel()
CountryViewModel(Country)
Initializes a new CountryViewModel with a given Country model
Declaration
public CountryViewModel(Country country)
Parameters
Type | Name | Description |
---|---|---|
Country | country |
Properties
| Improve this Doc View SourceIsoCode
Alpha-2 ISO 3166-1 code
Declaration
public string IsoCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsoCode_Alpha3
Alpha-3 ISO 3166-1 code
Declaration
public string IsoCode_Alpha3 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsoCode_Numeric
Numeric ISO 3166-1 code
Declaration
public string IsoCode_Numeric { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Model
Gets the Country Model
Declaration
public Country Model { get; set; }
Property Value
Type | Description |
---|---|
Country |
Name
Gets the name of the country
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NameGuid
Gets or sets the Guid, which represents the Name of the country
Declaration
public Guid NameGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ZipCodeLength
Gets or sets the length of the zipcode of the country
Declaration
public int? ZipCodeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |