Class GeoNearResult<TDocument>
Represents the result of a GeoNear command.
[Serializable]
[BsonSerializer(typeof(GeoNearResult<>.Serializer))]
public class GeoNearResult<TDocument> : GeoNearResult
Type Parameters
TDocument
The type of the returned documents.
- Inheritance
-
GeoNearResult<TDocument>
- Inherited Members
- Extension Methods
Constructors
GeoNearResult(BsonDocument)
Initializes a new instance of the GeoNearResult<TDocument> class.
public GeoNearResult(BsonDocument response)
Parameters
response
BsonDocumentThe response.
Properties
Hits
Gets the hits.
public GeoNearResult<TDocument>.GeoNearHits Hits { get; }
Property Value
- GeoNearResult<TDocument>.GeoNearHits
HitsImplementation
Gets the hits.
protected override GeoNearResult.GeoNearHits HitsImplementation { get; }