Show / Hide Table of Contents

Struct OsmGeoKey

A unique identifier including types.

Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public struct OsmGeoKey : IEquatable<OsmGeoKey>

Constructors

OsmGeoKey(OsmGeo)

Creates a version key for the given object.

Declaration
public OsmGeoKey(OsmGeo osmGeo)
Parameters
OsmGeo osmGeo

OsmGeoKey(OsmGeoType, Int64)

Creates a version key.

Declaration
public OsmGeoKey(OsmGeoType type, long id)
Parameters
OsmGeoType type

System.Int64 id

Properties

Id

Gets or sets the id.

Declaration
public long Id { get; set; }
Property Value
System.Int64

Type

Gets or sets the type.

Declaration
public OsmGeoType Type { get; set; }
Property Value
OsmGeoType

Methods

Equals(OsmGeoKey)

Returns true if the given object represents the same key.

Declaration
public bool Equals(OsmGeoKey other)
Parameters
OsmGeoKey other

Returns
System.Boolean

Implements
System.IEquatable<T>.Equals(T)

Equals(Object)

Returns true if the given object represents the same key.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Serves as a hashfunction.

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.ValueType.GetHashCode()
Back to top Built by Itinero, MIT licensed.