Show / Hide Table of Contents

Class OsmGeoVersionKey

A unique identifier including types and version #.

Inheritance
System.Object
OsmGeoVersionKey
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class OsmGeoVersionKey : IEquatable<OsmGeoVersionKey>

Constructors

OsmGeoVersionKey(OsmGeo)

Creates a version key for the given object.

Declaration
public OsmGeoVersionKey(OsmGeo osmGeo)
Parameters
OsmGeo osmGeo

OsmGeoVersionKey(OsmGeoType, Int64, Int64)

Creates a version key.

Declaration
public OsmGeoVersionKey(OsmGeoType type, long id, long version)
Parameters
OsmGeoType type

System.Int64 id

System.Int64 version

Properties

Id

Gets or sets the id.

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

Previous

Gets the previous version.

Declaration
public OsmGeoVersionKey Previous { get; }
Property Value
OsmGeoVersionKey

Type

Gets or sets the type.

Declaration
public OsmGeoType Type { get; }
Property Value
OsmGeoType

Version

Gets or sets the version #.

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

Methods

Equals(OsmGeoVersionKey)

Returns true if the given object represents the same key.

Declaration
public bool Equals(OsmGeoVersionKey other)
Parameters
OsmGeoVersionKey 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.Object.Equals(System.Object)

GetHashCode()

Serves as a hashfunction.

Declaration
public override int GetHashCode()
Returns
System.Int32

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