Class IPAddressLocation
Represents location information for an IPAddress
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class IPAddressLocation : ValueObject, ICloneable
Properties
City
Gets or sets the city within the region.
Declaration
[MaxLength(128)]
public string City { get; set; }
Property Value
String
|
CountryCode
Gets or sets the ISO ALPHA-2 code representing the country.
Declaration
[StringLength(2, MinimumLength = 2)]
public string CountryCode { get; set; }
Property Value
String
|
Region
Gets or sets the region within the country.
Declaration
[MaxLength(128)]
public string Region { get; set; }
Property Value
String
|
Methods
Clone()
Creates a new copy of this instance.
Declaration
public IPAddressLocation Clone()
Returns
IPAddressLocation
A new vopy of this instance. |
GetAtomicValues()
Declaration
protected override IEnumerable<object> GetAtomicValues()
Returns
IEnumerable<Object>
|
Overrides
GetLand()
Gets information about the country, like name, continent and more.
Declaration
public Land GetLand()
Returns
Land
A Land. |