Table of Contents

Struct GeoEntry

Namespace
StackExchange.Redis
Assembly
StackExchange.Redis.StrongName.dll

Describes a GeoEntry element with the corresponding value GeoEntries are stored in redis as SortedSetEntries

public struct GeoEntry : IEquatable<GeoEntry>
Implements
Inherited Members

Constructors

GeoEntry(double, double, RedisValue)

Initializes a GeoEntry value

public GeoEntry(double longitude, double latitude, RedisValue member)

Parameters

longitude double
latitude double
member RedisValue

Properties

Latitude

The latitude of the geo entry

public double Latitude { get; }

Property Value

double

Longitude

The longitude of the geo entry

public double Longitude { get; }

Property Value

double

Member

The name of the geo entry

public RedisValue Member { get; }

Property Value

RedisValue

Position

Describes the longitude and latitude of a GeoEntry

public GeoPosition Position { get; }

Property Value

GeoPosition

Methods

Equals(GeoEntry)

Compares two values for equality

public bool Equals(GeoEntry value)

Parameters

value GeoEntry

Returns

bool

Equals(object)

Compares two values for equality

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

See Object.GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

See Object.ToString()

public override string ToString()

Returns

string

Operators

operator ==(GeoEntry, GeoEntry)

Compares two values for equality

public static bool operator ==(GeoEntry x, GeoEntry y)

Parameters

x GeoEntry
y GeoEntry

Returns

bool

operator !=(GeoEntry, GeoEntry)

Compares two values for non-equality

public static bool operator !=(GeoEntry x, GeoEntry y)

Parameters

x GeoEntry
y GeoEntry

Returns

bool