|
39 | 39 | <remarks>To be added.</remarks>
|
40 | 40 | </Docs>
|
41 | 41 | </Member>
|
| 42 | + <MemberGroup MemberName="AdvanceTo"> |
| 43 | + <AssemblyInfo> |
| 44 | + <AssemblyName>System.IO.Pipelines</AssemblyName> |
| 45 | + <AssemblyVersion>4.0.0.0</AssemblyVersion> |
| 46 | + <AssemblyVersion>4.0.0.1</AssemblyVersion> |
| 47 | + <AssemblyVersion>4.0.1.0</AssemblyVersion> |
| 48 | + </AssemblyInfo> |
| 49 | + <Docs> |
| 50 | + <summary>Moves forward the pipeline's read cursor to after the consumed data.</summary> |
| 51 | + <remarks> |
| 52 | + <format type="text/markdown"><![CDATA[ |
| 53 | +
|
| 54 | +## Remarks |
| 55 | +
|
| 56 | +The memory for the consumed data will be released and no longer available. The examined data communicates to the pipeline when it should signal more data is available. |
| 57 | +
|
| 58 | + ]]></format> |
| 59 | + </remarks> |
| 60 | + </Docs> |
| 61 | + </MemberGroup> |
42 | 62 | <Member MemberName="AdvanceTo">
|
43 | 63 | <MemberSignature Language="C#" Value="public abstract void AdvanceTo (SequencePosition consumed);" />
|
44 | 64 | <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AdvanceTo(valuetype System.SequencePosition consumed) cil managed" />
|
|
61 | 81 | </Parameters>
|
62 | 82 | <Docs>
|
63 | 83 | <param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
64 |
| - <summary>Moves forward the pipeline's read cursor to after the consumed data.</summary> |
65 |
| - <remarks>The memory for the consumed data will be released and no longer available. The examined data communicates to the pipeline when it should signal more data is available.</remarks> |
| 84 | + <summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed.</summary> |
| 85 | + <remarks>To be added.</remarks> |
66 | 86 | </Docs>
|
67 | 87 | </Member>
|
68 | 88 | <Member MemberName="AdvanceTo">
|
|
89 | 109 | <Docs>
|
90 | 110 | <param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
91 | 111 | <param name="examined">Marks the extent of the data that has been read and examined.</param>
|
92 |
| - <summary>Moves forward the pipeline's read cursor to after the consumed data.</summary> |
93 |
| - <remarks>The memory for the consumed data will be released and no longer available. |
94 |
| - The examined data communicates to the pipeline when it should signal more data is available. |
95 |
| - </remarks> |
| 112 | + <summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed, read and examined.</summary> |
| 113 | + <remarks>To be added.</remarks> |
96 | 114 | </Docs>
|
97 | 115 | </Member>
|
98 | 116 | <Member MemberName="AsStream">
|
|
329 | 347 | <Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
|
330 | 348 | </Parameters>
|
331 | 349 | <Docs>
|
332 |
| - <param name="cancellationToken">To be added.</param> |
| 350 | + <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see langword="default" />.</param> |
333 | 351 | <summary>Asynchronously reads a sequence of bytes from the current <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
334 | 352 | <returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> representing the asynchronous read operation.</returns>
|
335 | 353 | <remarks>To be added.</remarks>
|
|
356 | 374 | <Parameter Name="result" Type="System.IO.Pipelines.ReadResult" RefType="out" />
|
357 | 375 | </Parameters>
|
358 | 376 | <Docs>
|
359 |
| - <param name="result">The <see cref="T:System.IO.Pipelines.ReadResult" /></param> |
| 377 | + <param name="result">When this method returns <see langword="true" />, this value is set to a <see cref="T:System.IO.Pipelines.ReadResult" /> instance that represents the result of the read call; otherwise, this value is set to <see langword="default" />.</param> |
360 | 378 | <summary>Attempts to synchronously read data the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
361 |
| - <returns> |
362 |
| - <see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns> |
363 |
| - <remarks>If the pipe returns <see langword="false" />, there's no need to call <see cref="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)" />.</remarks> |
| 379 | + <returns><see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns> |
| 380 | + <remarks> |
| 381 | + <format type="text/markdown"><![CDATA[ |
| 382 | +
|
| 383 | +## Remarks |
| 384 | +
|
| 385 | +If the pipe returns `false`, there is no need to call <xref:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)>. |
| 386 | +
|
| 387 | + ]]></format> |
| 388 | + </remarks> |
364 | 389 | </Docs>
|
365 | 390 | </Member>
|
366 | 391 | </Members>
|
|
0 commit comments