MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

NamedEntity Class

Abstract class for records with name maps.

Syntax

public abstract class NamedEntity

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0

Members

See Also: Inherited members from object.

Public Constructors

Documentation for this section has not yet been entered.

Public Properties

[read-only]
GeoNameId Nullable<int> . The GeoName ID for the city. This attribute is returned by all endpoints
[read-only]
Name string . The name of the city based on the locales list passed to the MaxMind.GeoIP2.WebServiceClient constructor. This attribute is returned by all endpoints.
[read-only]
Names Dictionary<string, string> . A Generic.Dictionary<T,U> from locale codes to the name in that locale. This attribute is returned by all end points.

Public Methods

override
ToString () : string
Returns a string that represents this instance.

Member Details

NamedEntity Constructor

Documentation for this section has not yet been entered.

Syntax

public NamedEntity ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0

GeoNameId Property

The GeoName ID for the city. This attribute is returned by all endpoints

Syntax

[Newtonsoft.Json.JsonProperty("geoname_id")]
[RestSharp.Deserializers.DeserializeAs(Name="geoname_id")]
public Nullable<int> GeoNameId { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0

Name Property

The name of the city based on the locales list passed to the MaxMind.GeoIP2.WebServiceClient constructor. This attribute is returned by all endpoints.

Syntax

public string Name { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0

Names Property

A Generic.Dictionary<T,U> from locale codes to the name in that locale. This attribute is returned by all end points.

Syntax

public Dictionary<string, string> Names { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0

ToString Method

Returns a string that represents this instance.

Syntax

public override string ToString ()

Returns

A string that represents this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.2.0.0