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
doublelatitude
doublemember
RedisValue
Properties
Latitude
The latitude of the geo entry
public double Latitude { get; }
Property Value
Longitude
The longitude of the geo entry
public double Longitude { get; }
Property Value
Member
The name of the geo entry
public RedisValue Member { get; }
Property Value
Position
Describes the longitude and latitude of a GeoEntry
public GeoPosition Position { get; }
Property Value
Methods
Equals(GeoEntry)
Compares two values for equality
public bool Equals(GeoEntry value)
Parameters
value
GeoEntry
Returns
Equals(object)
Compares two values for equality
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
See Object.GetHashCode()
public override int GetHashCode()
Returns
ToString()
See Object.ToString()
public override string ToString()
Returns
Operators
operator ==(GeoEntry, GeoEntry)
Compares two values for equality
public static bool operator ==(GeoEntry x, GeoEntry y)
Parameters
Returns
operator !=(GeoEntry, GeoEntry)
Compares two values for non-equality
public static bool operator !=(GeoEntry x, GeoEntry y)