Skip to content

Commit bc2b8ea

Browse files
Port Microsoft.Extensions.Primitives new docs (#10169)
* Microsoft.Extensions.Primitives * Revert "Microsoft.Extensions.Primitives" This reverts commit f2998eb. * Fixup * Update xml/Microsoft.Extensions.Primitives/StringValues.xml Co-authored-by: Carlos Sánchez López <[email protected]> * Update xml/Microsoft.Extensions.Primitives/StringValues.xml Co-authored-by: Carlos Sánchez López <[email protected]> * Update xml/Microsoft.Extensions.Primitives/StringValues.xml Co-authored-by: Carlos Sánchez López <[email protected]> * Update xml/Microsoft.Extensions.Primitives/StringValues.xml Co-authored-by: Carlos Sánchez López <[email protected]> --------- Co-authored-by: Carlos Sánchez López <[email protected]>
1 parent 563e753 commit bc2b8ea

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

xml/Microsoft.Extensions.Primitives/StringValues.xml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,12 @@
275275
<Docs>
276276
<summary>A readonly instance of the <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> struct whose value is an empty string array.</summary>
277277
<remarks>
278-
<format type="text/markdown"><![CDATA[
279-
280-
## Remarks
281-
282-
In application code, this field is most commonly used to safely represent a <xref:Microsoft.Extensions.Primitives.StringValues> that has `null` string values.
283-
278+
<format type="text/markdown"><![CDATA[
279+
280+
## Remarks
281+
282+
In application code, this field is most commonly used to safely represent a <xref:Microsoft.Extensions.Primitives.StringValues> that has `null` string values.
283+
284284
]]></format>
285285
</remarks>
286286
</Docs>
@@ -729,8 +729,8 @@ In application code, this field is most commonly used to safely represent a <xre
729729
<Parameter Name="right" Type="System.String" />
730730
</Parameters>
731731
<Docs>
732-
<param name="left">To be added.</param>
733-
<param name="right">To be added.</param>
732+
<param name="left">The string values to compare.</param>
733+
<param name="right">The string to compare.</param>
734734
<summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and <see cref="T:System.String" /> objects have the same values.</summary>
735735
<returns>
736736
<see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />. If <paramref name="right" /> is <see langword="null" />, the method returns <see langword="false" />.</returns>
@@ -759,8 +759,8 @@ In application code, this field is most commonly used to safely represent a <xre
759759
<Parameter Name="right" Type="System.String[]" />
760760
</Parameters>
761761
<Docs>
762-
<param name="left">To be added.</param>
763-
<param name="right">To be added.</param>
762+
<param name="left">The string values to compare.</param>
763+
<param name="right">The string array to compare.</param>
764764
<summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and string array objects have the same values.</summary>
765765
<returns>
766766
<see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
@@ -818,8 +818,8 @@ In application code, this field is most commonly used to safely represent a <xre
818818
<Parameter Name="right" Type="Microsoft.Extensions.Primitives.StringValues" />
819819
</Parameters>
820820
<Docs>
821-
<param name="left">To be added.</param>
822-
<param name="right">To be added.</param>
821+
<param name="left">The string to compare.</param>
822+
<param name="right">The string values to compare.</param>
823823
<summary>Determines whether the specified <see cref="T:System.String" /> and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have the same values.</summary>
824824
<returns>
825825
<see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />. If <paramref name="left" /> is <see langword="null" />, the method returns <see langword="false" />.</returns>
@@ -848,8 +848,8 @@ In application code, this field is most commonly used to safely represent a <xre
848848
<Parameter Name="right" Type="Microsoft.Extensions.Primitives.StringValues" />
849849
</Parameters>
850850
<Docs>
851-
<param name="left">To be added.</param>
852-
<param name="right">To be added.</param>
851+
<param name="left">The string array to compare.</param>
852+
<param name="right">The string values to compare.</param>
853853
<summary>Determines whether the specified string array and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have the same values.</summary>
854854
<returns>
855855
<see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
@@ -881,12 +881,12 @@ In application code, this field is most commonly used to safely represent a <xre
881881
<summary>Defines an implicit conversion of a given <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to a string, with multiple values joined as a comma separated string.</summary>
882882
<returns>Returns <see langword="null" /> where <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> has been initialized from an empty string array or is <see cref="P:Microsoft.Extensions.Primitives.StringValues.Empty" />. Otherwise, it returns the implicit conversion of <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to a string.</returns>
883883
<remarks>
884-
<format type="text/markdown"><![CDATA[
885-
886-
## Remarks
887-
888-
Returns `null` where <xref:Microsoft.Extensions.Primitives.StringValues> has been initialized from an empty string array or is <xref:Microsoft.Extensions.Primitives.StringValues.Empty>.
889-
884+
<format type="text/markdown"><![CDATA[
885+
886+
## Remarks
887+
888+
Returns `null` where <xref:Microsoft.Extensions.Primitives.StringValues> has been initialized from an empty string array or is <xref:Microsoft.Extensions.Primitives.StringValues.Empty>.
889+
890890
]]></format>
891891
</remarks>
892892
</Docs>
@@ -1514,12 +1514,12 @@ Returns `null` where <xref:Microsoft.Extensions.Primitives.StringValues> has bee
15141514
<summary>Returns an enumerator that iterates through a collection.</summary>
15151515
<returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
15161516
<remarks>
1517-
<format type="text/markdown"><![CDATA[
1518-
1519-
## Remarks
1520-
1521-
This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Extensions.Primitives.StringValues> instance is cast to an <xref:System.Collections.IEnumerable> interface.
1522-
1517+
<format type="text/markdown"><![CDATA[
1518+
1519+
## Remarks
1520+
1521+
This member is an explicit interface member implementation. It can be used only when the <xref:Microsoft.Extensions.Primitives.StringValues> instance is cast to an <xref:System.Collections.IEnumerable> interface.
1522+
15231523
]]></format>
15241524
</remarks>
15251525
<inheritdoc cref="M:Microsoft.Extensions.Primitives.StringValues.GetEnumerator" />
@@ -1546,12 +1546,12 @@ This member is an explicit interface member implementation. It can be used only
15461546
<summary>Creates a string array from the current <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object.</summary>
15471547
<returns>A string array represented by this instance.</returns>
15481548
<remarks>
1549-
<format type="text/markdown"><![CDATA[
1550-
1551-
## Remarks
1552-
1553-
If the <xref:Microsoft.Extensions.Primitives.StringValues> contains a single string internally, it is copied to a new array.If the <xref:Microsoft.Extensions.Primitives.StringValues> contains an array internally it returns that array instance.
1554-
1549+
<format type="text/markdown"><![CDATA[
1550+
1551+
## Remarks
1552+
1553+
If the <xref:Microsoft.Extensions.Primitives.StringValues> contains a single string internally, it is copied to a new array.If the <xref:Microsoft.Extensions.Primitives.StringValues> contains an array internally it returns that array instance.
1554+
15551555
]]></format>
15561556
</remarks>
15571557
</Docs>

0 commit comments

Comments
 (0)