Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3077e45

Browse files
address minor comments
1 parent 0eb74b8 commit 3077e45

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

‎src/MongoDB.Driver/Core/Misc/Feature.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ public class Feature
291291
/// <summary>
292292
/// Gets the geoNear command feature.
293293
/// </summary>
294+
///
295+
[Obsolete("This property will be removed in a later release.")]
294296
public static Feature GeoNearCommand => __geoNearCommand;
295297

296298
/// <summary>

‎src/MongoDB.Driver/PipelineStageDefinitionBuilder.cs‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -605,15 +605,6 @@ public static PipelineStageDefinition<TInput, TOutput> Facet<TInput, TOutput>(
605605
return Facet<TInput, TOutput>((IEnumerable<AggregateFacet<TInput>>)facets);
606606
}
607607

608-
/// <summary>
609-
/// Creates a $geoNear stage.
610-
/// </summary>
611-
/// <typeparam name="TInput">The type of the input documents.</typeparam>
612-
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
613-
/// <typeparam name="TPoint">The type of the point. This could be a <see cref="GeoJsonPoint{TCoordinates}"/>, a 2d array or embedded document.</typeparam>
614-
/// <param name="near">The point for which to find the closest documents.</param>
615-
/// <param name="options">The options.</param>
616-
/// <returns>The stage.</returns>
617608
internal static PipelineStageDefinition<TInput, TOutput> GeoNear<TInput, TPoint, TOutput>(
618609
TPoint near,
619610
GeoNearOptions<TInput, TOutput> options = null)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /