Show / Hide Table of Contents

Class RedisGeoFilter

A geographic filter.

Inheritance
System.Object
QueryOption
RedisGeoFilter
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 Source

RedisGeoFilter(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX