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: src/Extensions/ReadOnlySpan/ReadOnlySpanExtensions.Split.cs
+48-48Lines changed: 48 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -13,150 +13,150 @@ public static partial class ReadOnlySpanExtensions
13
13
/// Splits a <see cref="ReadOnlySpan{T}"/> into multiple ReadOnlySpans based on the specified <paramref name="delimiter"/>.
14
14
/// </summary>
15
15
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
16
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
17
-
/// <param name="delimiter">An instance of <typeparamref name="T"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
16
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
17
+
/// <param name="delimiter">An instance of <typeparamref name="T"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
18
18
/// <returns>An instance of the ref struct <see cref="SpanSplitEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{T}"/> into at most <paramref name="count"/> ReadOnlySpans based on the specified <paramref name="delimiter"/>.
26
26
/// </summary>
27
27
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
28
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
29
-
/// <param name="delimiter">An instance of <typeparamref name="T"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
28
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
29
+
/// <param name="delimiter">An instance of <typeparamref name="T"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
30
30
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
31
31
/// <returns>An instance of the ref struct <see cref="SpanSplitWithCountEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into multiple ReadOnlySpans based on the specified <paramref name="delimiter"/> and the specified <paramref name="options"/>.
39
39
/// </summary>
40
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
41
-
/// <param name="delimiter">A <see cref="char"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
40
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
41
+
/// <param name="delimiter">A <see cref="char"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
42
42
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
43
43
/// <returns>An instance of the ref struct <see cref="SpanSplitStringSplitOptionsEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into at most <paramref name="count"/> ReadOnlySpans based on the specified <paramref name="delimiter"/> and the specified <paramref name="options"/>.
51
51
/// </summary>
52
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
53
-
/// <param name="delimiter">A <see cref="char"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
52
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
53
+
/// <param name="delimiter">A <see cref="char"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
54
54
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
55
55
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
56
56
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyStringSplitOptionsWithCountEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{T}"/> into multiple ReadOnlySpans based on the any of the specified <paramref name="delimiters"/>.
64
64
/// </summary>
65
65
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
66
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
67
-
/// <param name="delimiters">A <see cref="ReadOnlySpan{T}"/> with the instances of <typeparamref name="T"/> that delimit the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
66
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
67
+
/// <param name="delimiters">A <see cref="ReadOnlySpan{T}"/> with the instances of <typeparamref name="T"/> that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
68
68
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{T}"/> into at most <paramref name="count"/> ReadOnlySpans based on the any of the specified <paramref name="delimiters"/>.
76
76
/// </summary>
77
77
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
78
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
79
-
/// <param name="delimiters">A <see cref="ReadOnlySpan{T}"/> with the instances of <typeparamref name="T"/> that delimit the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
78
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
79
+
/// <param name="delimiters">A <see cref="ReadOnlySpan{T}"/> with the instances of <typeparamref name="T"/> that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
80
80
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
81
81
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyWithCountEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into multiple ReadOnlySpans based on the any of the specified <paramref name="delimiters"/>.
89
89
/// </summary>
90
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
91
-
/// <param name="delimiters">A <see cref="ReadOnlySpan{Char}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
90
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
91
+
/// <param name="delimiters">A <see cref="ReadOnlySpan{Char}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
92
92
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
93
93
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyStringSplitOptionsEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into at most <paramref name="count"/> ReadOnlySpans based on the any of the specified <paramref name="delimiters"/>.
101
101
/// </summary>
102
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
103
-
/// <param name="delimiters">A <see cref="ReadOnlySpan{Char}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
102
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
103
+
/// <param name="delimiters">A <see cref="ReadOnlySpan{Char}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
104
104
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
105
105
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
106
106
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyStringSplitOptionsWithCountEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{T}"/> into multiple ReadOnlySpans based on the specified <paramref name="delimiter"/>.
114
114
/// </summary>
115
115
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
116
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
117
-
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{T}"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
116
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
117
+
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{T}"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
118
118
/// <returns>An instance of the ref struct <see cref="SpanSplitSequenceEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{T}"/> into at most <paramref name="count"/> ReadOnlySpans based on the specified <paramref name="delimiter"/>.
126
126
/// </summary>
127
127
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
128
-
/// <param name="span">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
129
-
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{T}"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
128
+
/// <param name="source">The <see cref="ReadOnlySpan{T}"/> to be split.</param>
129
+
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{T}"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
130
130
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
131
131
/// <returns>An instance of the ref struct , which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into multiple ReadOnlySpans based on the specified <paramref name="delimiter"/>.
139
139
/// </summary>
140
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
141
-
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{Char}"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
140
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
141
+
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{Char}"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
142
142
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
143
143
/// <returns>An instance of the ref struct <see cref="SpanSplitSequenceStringSplitOptionsEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
/// Splits a <see cref="ReadOnlySpan{Char}"/> into at most <paramref name="count"/> ReadOnlySpans based on the specified <paramref name="delimiter"/>.
151
151
/// </summary>
152
-
/// <param name="span">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
153
-
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{Char}"/> that delimits the various sub-ReadOnlySpans in <paramref name="span"/>.</param>
152
+
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
153
+
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{Char}"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
154
154
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
155
155
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
156
156
/// <returns>An instance of the ref struct <see cref="SpanSplitSequenceStringSplitOptionsWithCountEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
0 commit comments