Skip to content

Commit

Permalink
CSHARP-4087: Fixed API docs warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesKovacs committed Mar 9, 2022
1 parent cd60f58 commit f503bf6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/MongoDB.Driver.Legacy/MongoCursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public virtual BsonDocument Explain()
/// Returns an explanation of how the query was executed (instead of the results).
/// </summary>
/// <param name="verbose">Whether the explanation should contain more details.</param>
/// <returns>An explanation of thow the query was executed.</returns>
/// <returns>An explanation of throw the query was executed.</returns>
public virtual BsonDocument Explain(bool verbose)
{
var verbosity = verbose ? ExplainVerbosity.AllPlansExecution : ExplainVerbosity.QueryPlanner;
Expand All @@ -427,6 +427,7 @@ BsonDocument ExecuteExplainOperation(IClientSessionHandle session)
/// <summary>
/// Creates an explain operation for this cursor.
/// </summary>
/// <param name="verbosity">The requested <see cref="ExplainVerbosity"/>.</param>
/// <returns>An explain operation.</returns>
protected abstract ExplainOperation CreateExplainOperation(ExplainVerbosity verbosity);

Expand Down
2 changes: 1 addition & 1 deletion src/MongoDB.Driver/AggregateFluentBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public virtual IAggregateFluent<TNewResult> ReplaceWith<TNewResult>(AggregateExp
/// <inheritdoc />
public virtual IAggregateFluent<BsonDocument> SetWindowFields<TPartitionBy, TWindowFields>(
AggregateExpressionDefinition<TResult, TPartitionBy> partitionBy,
SortDefinition<TResult> sort,
SortDefinition<TResult> sortBy,
AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output)
{
throw new NotImplementedException();
Expand Down
6 changes: 3 additions & 3 deletions src/MongoDB.Driver/IAggregateFluent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public interface IAggregateFluent<TResult> : IAsyncCursorSource<TResult>
/// </summary>
/// <typeparam name="TWindowFields">The type of the added window fields.</typeparam>
/// <param name="output">The window fields definition.</param>
/// <returns></returns>
/// <returns>The fluent aggregate interface.</returns>
IAggregateFluent<BsonDocument> SetWindowFields<TWindowFields>(
AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output);

Expand All @@ -336,7 +336,7 @@ public interface IAggregateFluent<TResult> : IAsyncCursorSource<TResult>
/// <typeparam name="TWindowFields">The type of the added window fields.</typeparam>
/// <param name="partitionBy">The partitionBy definition.</param>
/// <param name="output">The window fields definition.</param>
/// <returns></returns>
/// <returns>The fluent aggregate interface.</returns>
IAggregateFluent<BsonDocument> SetWindowFields<TPartitionBy, TWindowFields>(
AggregateExpressionDefinition<TResult, TPartitionBy> partitionBy,
AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields> output);
Expand All @@ -349,7 +349,7 @@ public interface IAggregateFluent<TResult> : IAsyncCursorSource<TResult>
/// <param name="partitionBy">The partitionBy definition.</param>
/// <param name="sortBy">The sortBy definition.</param>
/// <param name="output">The window fields definition.</param>
/// <returns></returns>
/// <returns>The fluent aggregate interface.</returns>
IAggregateFluent<BsonDocument> SetWindowFields<TPartitionBy, TWindowFields>(
AggregateExpressionDefinition<TResult, TPartitionBy> partitionBy,
SortDefinition<TResult> sortBy,
Expand Down
3 changes: 3 additions & 0 deletions src/MongoDB.Driver/RangeWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public sealed class RangeWindow : SetWindowFieldsWindow
/// <summary>
/// Creates a range window.
/// </summary>
/// <typeparam name="TValue">The type of the boundary conditions.</typeparam>
/// <param name="lowerBoundary">The lower boundary.</param>
/// <param name="upperBoundary">The upper boundary.</param>
/// <returns>A range window.</returns>
Expand All @@ -51,6 +52,7 @@ public static RangeWindow Create<TValue>(TValue lowerBoundary, TValue upperBound
/// <summary>
/// Creates a range window.
/// </summary>
/// <typeparam name="TValue">The type of the lower boundary condition.</typeparam>
/// <param name="lowerBoundary">The lower boundary.</param>
/// <param name="upperBoundary">The upper boundary.</param>
/// <returns>A range window.</returns>
Expand All @@ -62,6 +64,7 @@ public static RangeWindow Create<TValue>(TValue lowerBoundary, KeywordRangeWindo
/// <summary>
/// Creates a range window.
/// </summary>
/// <typeparam name="TValue">The type of the upper boundary condition.</typeparam>
/// <param name="lowerBoundary">The lower boundary.</param>
/// <param name="upperBoundary">The upper boundary.</param>
/// <returns>A range window.</returns>
Expand Down
1 change: 1 addition & 0 deletions src/MongoDB.Driver/RangeWindowBoundary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public abstract class ValueRangeWindowBoundary : RangeWindowBoundary
/// <summary>
/// Represents a value boundary for a range window in SetWindowFields.
/// </summary>
/// <typeparam name="TValue">The type of the range window boundary.</typeparam>
public sealed class ValueRangeWindowBoundary<TValue> : ValueRangeWindowBoundary
{
private readonly TValue _value;
Expand Down

0 comments on commit f503bf6

Please sign in to comment.