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/Environment+ProcessCpuUsage.xml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,10 @@
28
28
</Attribute>
29
29
</Attributes>
30
30
<Docs>
31
-
<summary>To be added.</summary>
32
-
<remarks>To be added.</remarks>
31
+
<summary>Represents the CPU usage statistics of a process.</summary>
32
+
<remarks>
33
+
<para>The CPU usage statistics include information about the time spent by the process in the application code (user mode) and the operating system code (kernel mode), as well as the total time spent by the process in both user mode and kernel mode.</para>
34
+
</remarks>
33
35
</Docs>
34
36
<Members>
35
37
<MemberMemberName="PrivilegedTime">
@@ -48,7 +50,7 @@
48
50
<ReturnType>System.TimeSpan</ReturnType>
49
51
</ReturnValue>
50
52
<Docs>
51
-
<summary>To be added.</summary>
53
+
<summary>Gets the amount of time the process has spent running code inside the operating system code.</summary>
52
54
<value>To be added.</value>
53
55
<remarks>To be added.</remarks>
54
56
</Docs>
@@ -69,7 +71,7 @@
69
71
<ReturnType>System.TimeSpan</ReturnType>
70
72
</ReturnValue>
71
73
<Docs>
72
-
<summary>To be added.</summary>
74
+
<summary>Gets the amount of time the process has spent utilizing the CPU, including the process time spent in the application code and in the operating system code.</summary>
73
75
<value>To be added.</value>
74
76
<remarks>To be added.</remarks>
75
77
</Docs>
@@ -90,7 +92,7 @@
90
92
<ReturnType>System.TimeSpan</ReturnType>
91
93
</ReturnValue>
92
94
<Docs>
93
-
<summary>To be added.</summary>
95
+
<summary>Gets the amount of time the associated process has spent running code inside the application portion of the process (not the operating system code).</summary>
<para>Get the CPU usage, including the process time spent running the application code, the process time spent running the operating system code, and the total time spent running both the application and operating system code.</para>
<paramrefname="timestamp" /> represents an offset prior to <seecref="F:System.DateTimeOffset.UnixEpoch" />.</exception>
883
890
</Docs>
884
891
</Member>
885
892
<MemberMemberName="Empty">
@@ -3011,9 +3018,12 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust
3011
3018
<ReturnType>System.Int32</ReturnType>
3012
3019
</ReturnValue>
3013
3020
<Docs>
3014
-
<summary>To be added.</summary>
3021
+
<summary>Gets the value of the variant field for the <seecref="T:System.Guid" />.</summary>
3015
3022
<value>To be added.</value>
3016
-
<remarks>To be added.</remarks>
3023
+
<remarks>
3024
+
<para>This property corresponds to the most significant 4 bits of the 8th byte: 00000000-0000-0000-F000-000000000000. The "don't-care" bits are not masked out.</para>
3025
+
<para>For more information on how to interpret this value, see <seehref="https://www.rfc-editor.org/rfc/rfc9562.html">RFC 9562</see>.</para>
3026
+
</remarks>
3017
3027
</Docs>
3018
3028
</Member>
3019
3029
<MemberMemberName="Version">
@@ -3038,9 +3048,12 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust
3038
3048
<ReturnType>System.Int32</ReturnType>
3039
3049
</ReturnValue>
3040
3050
<Docs>
3041
-
<summary>To be added.</summary>
3051
+
<summary>Gets the value of the version field for the <seecref="T:System.Guid" />.</summary>
3042
3052
<value>To be added.</value>
3043
-
<remarks>To be added.</remarks>
3053
+
<remarks>
3054
+
<para>This property corresponds to the most significant 4 bits of the 6th byte: 00000000-0000-F000-0000-000000000000.</para>
3055
+
<para>For more information on how to interpret this value, see <seehref="https://www.rfc-editor.org/rfc/rfc9562.html">RFC 9562</see>.</para>
Copy file name to clipboardExpand all lines: xml/System/MemoryExtensions+SpanSplitEnumerator`1.xml
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
</Attributes>
36
36
<Docs>
37
37
<typeparamname="T">To be added.</typeparam>
38
-
<summary>To be added.</summary>
38
+
<summary>Enables enumerating each split within a <seecref="T:System.ReadOnlySpan`1" /> that has been divided using one or more separators.</summary>
39
39
<remarks>To be added.</remarks>
40
40
</Docs>
41
41
<Members>
@@ -61,8 +61,8 @@
61
61
<ReturnType>System.Range</ReturnType>
62
62
</ReturnValue>
63
63
<Docs>
64
-
<summary>To be added.</summary>
65
-
<value>To be added.</value>
64
+
<summary>Gets the current element of the enumeration.</summary>
65
+
<value>A <seecref="T:System.Range" /> instance that indicates the bounds of the current element withing the source span.</value>
66
66
<remarks>To be added.</remarks>
67
67
</Docs>
68
68
</Member>
@@ -89,8 +89,8 @@
89
89
</ReturnValue>
90
90
<Parameters />
91
91
<Docs>
92
-
<summary>To be added.</summary>
93
-
<returns>To be added.</returns>
92
+
<summary>Gets an enumerator that allows for iteration over the split span.</summary>
93
+
<returns>A <seecref="T:System.MemoryExtensions.SpanSplitEnumerator`1" /> that can be used to iterate over the split span.</returns>
94
94
<remarks>To be added.</remarks>
95
95
</Docs>
96
96
</Member>
@@ -111,8 +111,9 @@
111
111
</ReturnValue>
112
112
<Parameters />
113
113
<Docs>
114
-
<summary>To be added.</summary>
115
-
<returns>To be added.</returns>
114
+
<summary>Advances the enumerator to the next element of the enumeration.</summary>
115
+
<returns>
116
+
<seelangword="true" /> if the enumerator was successfully advanced to the next element; <seelangword="false" /> if the enumerator has passed the end of the enumeration.</returns>
<typeparam name="T">The type of the elements.</typeparam>
9560
+
<param name="source">The source span to be enumerated.</param>
9561
+
<param name="separators">The <see cref="T:System.Buffers.SearchValues`1" /> to be used to split the provided span.</param>
9562
+
<summary>
9563
+
<para>Returns a type that allows for enumeration of each element within a split span using the provided separator characters.</para>
9564
+
</summary>
9565
+
<returns>An enumerator that can be used to enumerate each element in a split span using the provided separator characters.</returns>
9566
+
<remarks>
9567
+
<para>Unlike <see cref="M:System.MemoryExtensions.SplitAny``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})" />, <paramref name="separators" /> is not checked for being empty.</para>
9568
+
<para>An empty <paramref name="separators" /> argument will result in no separators being found, regardless of the type of <typeparamref name="T" />, whereas <see cref="M:System.MemoryExtensions.SplitAny``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})" /> uses all Unicode whitespace characters as separators if <paramref name="separators" /> is empty and <typeparamref name="T" /> is <see cref="T:System.Char" />.</para>
9569
+
</remarks>
9561
9570
</Docs>
9562
9571
</Member>
9563
9572
<Member MemberName="SplitAny<T>">
@@ -9618,12 +9627,16 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
9618
9627
</Parameter>
9619
9628
</Parameters>
9620
9629
<Docs>
9621
-
<typeparam name="T">To be added.</typeparam>
9622
-
<param name="source">To be added.</param>
9623
-
<param name="separators">To be added.</param>
9624
-
<summary>To be added.</summary>
9625
-
<returns>To be added.</returns>
9626
-
<remarks>To be added.</remarks>
9630
+
<typeparam name="T">The type of the elements.</typeparam>
9631
+
<param name="source">The source span to be enumerated.</param>
9632
+
<param name="separators">The separators to be used to split the provided span.</param>
9633
+
<summary>
9634
+
<para>Returns a type that allows for enumeration of each element within a split span using any of the provided elements.</para>
9635
+
</summary>
9636
+
<returns>An enumerator that can be used to enumerate each element in a split span using the provided separator characters.</returns>
9637
+
<remarks>
9638
+
<para>If <typeparamref name="T" /> is <see cref="T:System.Char" /> and if <paramref name="separators" /> is empty, all Unicode whitespace characters are used as the separators. This matches the behavior of when <see cref="M:System.String.Split(System.Char[])" /> and related overloads are used with an empty separator array, or when <see cref="M:System.MemoryExtensions.SplitAny(System.ReadOnlySpan{System.Char},System.Span{System.Range},System.ReadOnlySpan{System.Char},System.StringSplitOptions)" /> is used with an empty separator span.</para>
0 commit comments