Skip to content

Commit 8c0bab5

Browse files
Document System.IO.Pipelines.ReadResult (#3491)
* Document System.IO.Pipelines.ReadResult * Update xml/System.IO.Pipelines/ReadResult.xml * suggestions by halter73 Co-Authored-By: Stephen Halter <[email protected]> * fix build failure * suggestion by tdykstra Co-Authored-By: Tom Dykstra <[email protected]>
1 parent e9a7b16 commit 8c0bab5

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

xml/System.IO.Pipelines/ReadResult.xml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</Base>
1717
<Interfaces />
1818
<Docs>
19-
<summary>The result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</summary>
19+
<summary>Represents the result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</summary>
2020
<remarks>To be added.</remarks>
2121
</Docs>
2222
<Members>
@@ -40,9 +40,9 @@
4040
<Parameter Name="isCompleted" Type="System.Boolean" />
4141
</Parameters>
4242
<Docs>
43-
<param name="buffer">To be added.</param>
44-
<param name="isCanceled">To be added.</param>
45-
<param name="isCompleted">To be added.</param>
43+
<param name="buffer">The read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</param>
44+
<param name="isCanceled">A flag that indicates if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead()" />.</param>
45+
<param name="isCompleted">A flag that indicates whether the end of the data stream has been reached.</param>
4646
<summary>Creates a new instance of <see cref="T:System.IO.Pipelines.ReadResult" /> setting <see cref="P:System.IO.Pipelines.ReadResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.ReadResult.IsCompleted" /> flags.</summary>
4747
<remarks>To be added.</remarks>
4848
</Docs>
@@ -66,7 +66,7 @@
6666
</ReturnValue>
6767
<Docs>
6868
<summary>Gets the <see cref="T:System.Buffers.ReadOnlySequence`1" /> that was read.</summary>
69-
<value>To be added.</value>
69+
<value>A read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</value>
7070
<remarks>To be added.</remarks>
7171
</Docs>
7272
</Member>
@@ -88,9 +88,8 @@
8888
<ReturnType>System.Boolean</ReturnType>
8989
</ReturnValue>
9090
<Docs>
91-
<summary>
92-
<see langword="true" /> if the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled; otherwise, <see langword="false" />.</summary>
93-
<value>To be added.</value>
91+
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
92+
<value><see langword="true" /> if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead()" />; otherwise, <see langword="false" />.</value>
9493
<remarks>To be added.</remarks>
9594
</Docs>
9695
</Member>
@@ -112,9 +111,8 @@
112111
<ReturnType>System.Boolean</ReturnType>
113112
</ReturnValue>
114113
<Docs>
115-
<summary>
116-
<see langword="true" /> if the <see cref="T:System.IO.Pipelines.PipeReader" /> is complete; otherwise, <see langword="false" />.</summary>
117-
<value>To be added.</value>
114+
<summary>Gets a value that indicates whether the end of the data stream has been reached.</summary>
115+
<value><see langword="true" /> if the end of the data stream has been reached; otherwise, <see langword="false" />.</value>
118116
<remarks>To be added.</remarks>
119117
</Docs>
120118
</Member>

0 commit comments

Comments
 (0)