Skip to content

Commit 2ce243d

Browse files
warning fixes. (#768)
1 parent 5a3953f commit 2ce243d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Neo4j.Driver/Neo4j.Driver/Internal/Result/ResultCursor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ namespace Neo4j.Driver.Internal.Result;
2222

2323
internal sealed class ResultCursor : IInternalResultCursor, IAsyncEnumerator<IRecord>
2424
{
25-
private readonly IInternalResultCursor _cursor;
2625
private bool _isConsumed;
2726

2827
private readonly IResultStream _resultStream;

Neo4j.Driver/Neo4j.Driver/Public/IResultCursor.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
using System;
1717
using System.Collections.Generic;
18+
using System.Threading;
1819
using System.Threading.Tasks;
1920

2021
namespace Neo4j.Driver;
@@ -23,7 +24,7 @@ namespace Neo4j.Driver;
2324
/// Provides access to the result as an asynchronous stream of <see cref="IRecord"/>s. The records in the result
2425
/// is lazily retrieved and could only be visited once in a sequential order.
2526
/// </summary>
26-
/// <remarks> Calling <see cref="ResultCursorExtensions.ToListAsync(IResultCursor)"/> will enumerate the entire stream.</remarks>
27+
/// <remarks> Calling <see cref="ResultCursorExtensions.ToListAsync(IResultCursor, CancellationToken)"/> will enumerate the entire stream.</remarks>
2728
public interface IResultCursor : IAsyncEnumerable<IRecord>
2829
{
2930
/// <summary>Returns the current record that has already been read via <see cref="FetchAsync"/>.</summary>
@@ -50,7 +51,7 @@ public interface IResultCursor : IAsyncEnumerable<IRecord>
5051
/// Asynchronously gets the <see cref="IResultSummary"/> after streaming the whole records to the client. If the
5152
/// records in the result are not fully consumed, then calling this method will discard all remaining records to yield the
5253
/// summary. If you want to obtain the summary without discarding the records, consider buffering the unconsumed result
53-
/// using <see cref="ResultCursorExtensions.ToListAsync(IResultCursor)"/>. If all records in the records stream are already
54+
/// using <see cref="ResultCursorExtensions.ToListAsync(IResultCursor, CancellationToken)"/>. If all records in the records stream are already
5455
/// consumed, then this method will return the summary directly.
5556
/// </summary>
5657
/// <returns>A task returning the result summary of the running query.</returns>

0 commit comments

Comments
 (0)