Class RedisGeoFilter
A geographic filter.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Searching.Query
Assembly: Redis.OM.dll
Syntax
public class RedisGeoFilter : QueryOption
Constructors
| Improve this Doc View SourceRedisGeoFilter(String, Double, Double, Double, GeoLocDistanceUnit)
Initializes a new instance of the RedisGeoFilter class.
Declaration
public RedisGeoFilter(string field, double longitude, double latitude, double radius, GeoLocDistanceUnit unit)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | the field to filter. |
System.Double | longitude | the longitude. |
System.Double | latitude | the latitude. |
System.Double | radius | radius. |
GeoLocDistanceUnit | unit | the unit. |