Skip to content

Commit ba429fb

Browse files
authored
Update ProductInfoHeaderValue.xml
Fixes dotnet#3274
1 parent f532ec7 commit ba429fb

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

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

+20-6
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<format type="text/markdown"><![CDATA[
4545
4646
## Remarks
47-
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.
47+
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.
4848
4949
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.
5050
@@ -93,7 +93,7 @@
9393
</Parameters>
9494
<Docs>
9595
<param name="product">A <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> object used to initialize the new instance.</param>
96-
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary>
96+
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class, using a product token from a <see cref="T:System.Net.Http.Headers.ProductHeaderValue" /> object.</summary>
9797
<remarks>To be added.</remarks>
9898
</Docs>
9999
</Member>
@@ -126,8 +126,15 @@
126126
</Parameters>
127127
<Docs>
128128
<param name="comment">A comment value.</param>
129-
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary>
130-
<remarks>To be added.</remarks>
129+
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class with a comment.</summary>
130+
<remarks>
131+
<format type="text/markdown"><![CDATA[
132+
133+
## Remarks
134+
The syntax of a comment is defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642)
135+
136+
]]></format>
137+
</remarks>
131138
</Docs>
132139
</Member>
133140
<Member MemberName=".ctor">
@@ -162,8 +169,15 @@
162169
<Docs>
163170
<param name="productName">The product name value.</param>
164171
<param name="productVersion">The product version value.</param>
165-
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class.</summary>
166-
<remarks>To be added.</remarks>
172+
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.ProductInfoHeaderValue" /> class with product information.</summary>
173+
<remarks>
174+
<format type="text/markdown"><![CDATA[
175+
176+
## Remarks
177+
The syntax of product information (name and value) is defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642)
178+
179+
]]></format>
180+
</remarks>
167181
</Docs>
168182
</Member>
169183
<Member MemberName="Comment">

0 commit comments

Comments
 (0)