Skip to content

Commit 443adba

Browse files
authored
fix that/which grammar (#11144)
1 parent 42a146a commit 443adba

File tree

14 files changed

+651
-654
lines changed

14 files changed

+651
-654
lines changed

xml/System.Net.Http.Headers/ContentDispositionHeaderValue.xml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@
5555
<Docs>
5656
<summary>Represents the value of the Content-Disposition header.</summary>
5757
<remarks>
58-
<format type="text/markdown"><![CDATA[
59-
60-
## Remarks
61-
The Content-Disposition header is normally used for working with file uploads and downloads. The format differs from other headers in that it is a single header with a disposition type followed by a list of parameters, some of which are well defined.
62-
63-
This header is used in two different contexts:
64-
65-
1. A MIME header for nested body content in the <xref:System.Net.Http.MultipartFormDataContent> class. For more information, see IETF RFC 2183.
66-
67-
2. An HTTP header in <xref:System.Net.Http.Headers.HttpContentHeaders> class. For more information, see IETF RFC 6266.
68-
58+
<format type="text/markdown"><![CDATA[
59+
60+
## Remarks
61+
The Content-Disposition header is normally used for working with file uploads and downloads. The format differs from other headers in that it is a single header with a disposition type followed by a list of parameters, some of which are well defined.
62+
63+
This header is used in two different contexts:
64+
65+
1. A MIME header for nested body content in the <xref:System.Net.Http.MultipartFormDataContent> class. For more information, see IETF RFC 2183.
66+
67+
2. An HTTP header in <xref:System.Net.Http.Headers.HttpContentHeaders> class. For more information, see IETF RFC 6266.
68+
6969
]]></format>
7070
</remarks>
7171
</Docs>
@@ -234,11 +234,11 @@
234234
<summary>The disposition type for a content body part.</summary>
235235
<value>The disposition type.</value>
236236
<remarks>
237-
<format type="text/markdown"><![CDATA[
238-
239-
## Remarks
240-
A body part should be marked with a <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.DispositionType%2A> property of "inline" if it is intended to be displayed automatically upon display of the message. A body part can be designated with a <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.DispositionType%2A> property of "attachment" to indicate that they are separate from the main body of the HTTP request or response.
241-
237+
<format type="text/markdown"><![CDATA[
238+
239+
## Remarks
240+
A body part should be marked with a <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.DispositionType%2A> property of "inline" if it is intended to be displayed automatically upon display of the message. A body part can be designated with a <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.DispositionType%2A> property of "attachment" to indicate that they are separate from the main body of the HTTP request or response.
241+
242242
]]></format>
243243
</remarks>
244244
</Docs>
@@ -329,11 +329,11 @@
329329
<summary>A suggestion for how to construct a filename for storing the message payload to be used if the entity is detached and stored in a separate file.</summary>
330330
<value>A suggested filename.</value>
331331
<remarks>
332-
<format type="text/markdown"><![CDATA[
333-
334-
## Remarks
335-
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileName%2A> property uses MIME encoding for non-ascii characters.
336-
332+
<format type="text/markdown"><![CDATA[
333+
334+
## Remarks
335+
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileName%2A> property uses MIME encoding for non-ascii characters.
336+
337337
]]></format>
338338
</remarks>
339339
</Docs>
@@ -374,11 +374,11 @@
374374
<summary>A suggestion for how to construct filenames for storing message payloads to be used if the entities are detached and stored in a separate files.</summary>
375375
<value>A suggested filename of the form filename*.</value>
376376
<remarks>
377-
<format type="text/markdown"><![CDATA[
378-
379-
## Remarks
380-
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> property uses IETF RFC 5987 encoding. The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileName%2A> and <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> properties differ only in that <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> uses the encoding defined in IETF RFC 5987, allowing the use of characters not present in the ISO-8859-1 character set.
381-
377+
<format type="text/markdown"><![CDATA[
378+
379+
## Remarks
380+
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> property uses IETF RFC 5987 encoding. The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileName%2A> and <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> properties differ only in that <xref:System.Net.Http.Headers.ContentDispositionHeaderValue.FileNameStar%2A> uses the encoding defined in IETF RFC 5987, allowing the use of characters not present in the ISO-8859-1 character set.
381+
382382
]]></format>
383383
</remarks>
384384
</Docs>
@@ -419,13 +419,13 @@
419419
<summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.</summary>
420420
<returns>A hash code for the current object.</returns>
421421
<remarks>
422-
<format type="text/markdown"><![CDATA[
423-
424-
## Remarks
425-
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
426-
427-
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue> method is suitable for use in hashing algorithms and data structures such as a hash table.
428-
422+
<format type="text/markdown"><![CDATA[
423+
424+
## Remarks
425+
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
426+
427+
The <xref:System.Net.Http.Headers.ContentDispositionHeaderValue> method is suitable for use in hashing algorithms and data structures such as a hash table.
428+
429429
]]></format>
430430
</remarks>
431431
</Docs>
@@ -462,7 +462,7 @@
462462
<ReturnType>System.Nullable&lt;System.DateTimeOffset&gt;</ReturnType>
463463
</ReturnValue>
464464
<Docs>
465-
<summary>The date at which the file was last modified.</summary>
465+
<summary>The date when the file was last modified.</summary>
466466
<value>The file modification date.</value>
467467
<remarks>To be added.</remarks>
468468
</Docs>

xml/System.Net.Http.Headers/ProductInfoHeaderValue.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
</Attribute>
5454
</Attributes>
5555
<Docs>
56-
<summary>Represents a value which can either be a product or a comment in a User-Agent header.</summary>
56+
<summary>Represents a value that can either be a product or a comment in a User-Agent header.</summary>
5757
<remarks>
58-
<format type="text/markdown"><![CDATA[
59-
60-
## Remarks
61-
The <xref:System.Net.Http.Headers.ProductInfoHeaderValue> class provides support for the product and comment tokens values used in a User-Agent header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
62-
63-
The User-Agent field contains information about the user agent originating the request. The field can contain multiple product tokens and comments identifying the user agent and any sub-products.
64-
58+
<format type="text/markdown"><![CDATA[
59+
60+
## Remarks
61+
The <xref:System.Net.Http.Headers.ProductInfoHeaderValue> class provides support for the product and comment tokens values used in a User-Agent header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
62+
63+
The User-Agent field contains information about the user agent originating the request. The field can contain multiple product tokens and comments identifying the user agent and any sub-products.
64+
6565
]]></format>
6666
</remarks>
6767
</Docs>
@@ -329,13 +329,13 @@
329329
<summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> object.</summary>
330330
<returns>A hash code for the current object.</returns>
331331
<remarks>
332-
<format type="text/markdown"><![CDATA[
333-
334-
## Remarks
335-
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
336-
337-
The <xref:System.Net.Http.Headers.ProductInfoHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
338-
332+
<format type="text/markdown"><![CDATA[
333+
334+
## Remarks
335+
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
336+
337+
The <xref:System.Net.Http.Headers.ProductInfoHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
338+
339339
]]></format>
340340
</remarks>
341341
</Docs>

xml/System.Net.Http.Headers/RangeConditionHeaderValue.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@
5353
</Attribute>
5454
</Attributes>
5555
<Docs>
56-
<summary>Represents an If-Range header value which can either be a date/time or an entity-tag value.</summary>
56+
<summary>Represents an If-Range header value that can either be a date/time or an entity-tag value.</summary>
5757
<remarks>
58-
<format type="text/markdown"><![CDATA[
59-
60-
## Remarks
61-
The <xref:System.Net.Http.Headers.RangeConditionHeaderValue> class provides support for the If-Range header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
62-
58+
<format type="text/markdown"><![CDATA[
59+
60+
## Remarks
61+
The <xref:System.Net.Http.Headers.RangeConditionHeaderValue> class provides support for the If-Range header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
62+
6363
]]></format>
6464
</remarks>
6565
</Docs>
@@ -354,13 +354,13 @@
354354
<summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RangeConditionHeaderValue" /> object.</summary>
355355
<returns>A hash code for the current object.</returns>
356356
<remarks>
357-
<format type="text/markdown"><![CDATA[
358-
359-
## Remarks
360-
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
361-
362-
The <xref:System.Net.Http.Headers.RangeConditionHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
363-
357+
<format type="text/markdown"><![CDATA[
358+
359+
## Remarks
360+
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
361+
362+
The <xref:System.Net.Http.Headers.RangeConditionHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
363+
364364
]]></format>
365365
</remarks>
366366
</Docs>

xml/System.Net.Http.Headers/RetryConditionHeaderValue.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
</Interface>
4848
</Interfaces>
4949
<Docs>
50-
<summary>Represents a Retry-After header value which can either be a date/time or a timespan value.</summary>
50+
<summary>Represents a Retry-After header value that can either be a date/time or a timespan value.</summary>
5151
<remarks>
52-
<format type="text/markdown"><![CDATA[
53-
54-
## Remarks
55-
The <xref:System.Net.Http.Headers.RetryConditionHeaderValue> class provides support for the Retry-After header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
56-
52+
<format type="text/markdown"><![CDATA[
53+
54+
## Remarks
55+
The <xref:System.Net.Http.Headers.RetryConditionHeaderValue> class provides support for the Retry-After header as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF.
56+
5757
]]></format>
5858
</remarks>
5959
</Docs>
@@ -304,13 +304,13 @@
304304
<summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.</summary>
305305
<returns>A hash code for the current object.</returns>
306306
<remarks>
307-
<format type="text/markdown"><![CDATA[
308-
309-
## Remarks
310-
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
311-
312-
The <xref:System.Net.Http.Headers.RetryConditionHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
313-
307+
<format type="text/markdown"><![CDATA[
308+
309+
## Remarks
310+
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
311+
312+
The <xref:System.Net.Http.Headers.RetryConditionHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
313+
314314
]]></format>
315315
</remarks>
316316
</Docs>

0 commit comments

Comments
 (0)