Show / Hide Table of Contents

Class IPAddressLocation

Represents location information for an IPAddress

Inheritance
Object
ValueObject
IPAddressLocation
Inherited Members
ValueObject.EqualOperator(ValueObject, ValueObject)
ValueObject.NotEqualOperator(ValueObject, ValueObject)
ValueObject.Equals(Object)
ValueObject.Equals(ValueObject)
ValueObject.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
Object.MemberwiseClone()
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
ValueObject.GetAtomicValues()

GetLand()

Gets information about the country, like name, continent and more.

Declaration
public Land GetLand()
Returns
Land

A Land.

ToString()

Declaration
public override string ToString()
Returns
String

Overrides
System.Object.ToString()

Explicit Interface Implementations

ICloneable.Clone()

Declaration
object ICloneable.Clone()
Returns
Object

Implements
System.ICloneable.Clone()
Back to top Generated by DocFX