You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Text/SpanRuneEnumerator.xml
+19-12Lines changed: 19 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,18 @@
19
19
</Attribute>
20
20
</Attributes>
21
21
<Docs>
22
-
<summary>To be added.</summary>
23
-
<remarks>To be added.</remarks>
22
+
<summary>Provides an enumerator for the <seecref="T:System.Text.Rune" /> values represented by a span containing UTF-16 text.</summary>
23
+
<remarks>
24
+
<formattype="text/markdown"><![CDATA[
25
+
26
+
## Remarks
27
+
28
+
This type is not intended to be referenced directly by application code. Instead, use the <xref:System.MemoryExtensions.EnumerateRunes%2A> method along with language-specific enumeration constructs to enumerate <xref:System.Text.Rune> values within spans.
29
+
30
+
The `foreach` statement of the C# language (`for each` in C++, `For Each` in Visual Basic) hides the complexity of enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
31
+
32
+
]]></format>
33
+
</remarks>
24
34
</Docs>
25
35
<Members>
26
36
<MemberMemberName="Current">
@@ -39,9 +49,8 @@
39
49
<ReturnType>System.Text.Rune</ReturnType>
40
50
</ReturnValue>
41
51
<Docs>
42
-
<summary>To be added.</summary>
43
-
<value>To be added.</value>
44
-
<remarks>To be added.</remarks>
52
+
<summary>Gets the <seecref="T:System.Text.Rune" /> at the current position of the enumerator.</summary>
53
+
<value>The <seecref="T:System.Text.Rune" /> at the current position of the enumerator.</value>
45
54
</Docs>
46
55
</Member>
47
56
<MemberMemberName="GetEnumerator">
@@ -61,9 +70,8 @@
61
70
</ReturnValue>
62
71
<Parameters />
63
72
<Docs>
64
-
<summary>To be added.</summary>
65
-
<returns>To be added.</returns>
66
-
<remarks>To be added.</remarks>
73
+
<summary>Returns the current enumerator instance.</summary>
74
+
<returns>The current enumerator instance.</returns>
67
75
</Docs>
68
76
</Member>
69
77
<MemberMemberName="MoveNext">
@@ -83,10 +91,9 @@
83
91
</ReturnValue>
84
92
<Parameters />
85
93
<Docs>
86
-
<summary>To be added.</summary>
87
-
<returns>To be added.</returns>
88
-
<remarks>To be added.</remarks>
94
+
<summary>Advances the enumerator to the next <seecref="T:System.Text.Rune" /> of the span.</summary>
95
+
<returns><seelangword="true" /> if the enumerator successfully advanced to the next item; <seelangword="false" /> if the end of the span has been reached.</returns>
Copy file name to clipboardExpand all lines: xml/System.Text/StringRuneEnumerator.xml
+68-25Lines changed: 68 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,18 @@
30
30
</Interface>
31
31
</Interfaces>
32
32
<Docs>
33
-
<summary>To be added.</summary>
34
-
<remarks>To be added.</remarks>
33
+
<summary>Provides an enumerator for the <seecref="T:System.Text.Rune" /> values represented by a string.</summary>
34
+
<remarks>
35
+
<formattype="text/markdown"><![CDATA[
36
+
37
+
## Remarks
38
+
39
+
This type is not intended to be referenced directly by application code. Instead, use the <xref:System.String.EnumerateRunes> method along with language-specific enumeration constructs to enumerate <xref:System.Text.Rune> values within strings.
40
+
41
+
The `foreach` statement of the C# language (`for each` in C++, `For Each` in Visual Basic) hides the complexity of enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
42
+
43
+
]]></format>
44
+
</remarks>
35
45
</Docs>
36
46
<Members>
37
47
<MemberMemberName="Current">
@@ -53,9 +63,8 @@
53
63
<ReturnType>System.Text.Rune</ReturnType>
54
64
</ReturnValue>
55
65
<Docs>
56
-
<summary>To be added.</summary>
57
-
<value>To be added.</value>
58
-
<remarks>To be added.</remarks>
66
+
<summary>Gets the <seecref="T:System.Text.Rune" /> at the current position of the enumerator.</summary>
67
+
<value>The <seecref="T:System.Text.Rune" /> at the current position of the enumerator.</value>
59
68
</Docs>
60
69
</Member>
61
70
<MemberMemberName="GetEnumerator">
@@ -75,9 +84,8 @@
75
84
</ReturnValue>
76
85
<Parameters />
77
86
<Docs>
78
-
<summary>To be added.</summary>
79
-
<returns>To be added.</returns>
80
-
<remarks>To be added.</remarks>
87
+
<summary>Returns the current enumerator instance.</summary>
88
+
<returns>The current enumerator instance.</returns>
81
89
</Docs>
82
90
</Member>
83
91
<MemberMemberName="MoveNext">
@@ -100,9 +108,8 @@
100
108
</ReturnValue>
101
109
<Parameters />
102
110
<Docs>
103
-
<summary>To be added.</summary>
104
-
<returns>To be added.</returns>
105
-
<remarks>To be added.</remarks>
111
+
<summary>Advances the enumerator to the next <seecref="T:System.Text.Rune" /> of the string.</summary>
112
+
<returns><seelangword="true" /> if the enumerator successfully advanced to the next item; <seelangword="false" /> if the end of the string has been reached.</returns>
<summary>Returns the current enumerator instance.</summary>
135
+
<returns>The current enumerator instance.</returns>
136
+
<remarks>
137
+
<formattype="text/markdown"><![CDATA[
138
+
139
+
## Remarks
140
+
141
+
This member is an explicit interface member implementation.
142
+
It can be used only when the <xref:System.Text.StringRuneEnumerator> instance is cast to an <xref:System.Collections.Generic.IEnumerable%601> interface.
0 commit comments