Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba6d145

Browse files
jozkeemairaw
authored andcommitted
Added documentation for System.Diagnostics.Tracing APIs targeted for 3.0 (dotnet#2972)
* Added documentation for System.Diagnostics.Tracing APIs targeted for 3.0 * Update DiagnosticCounter.xml * Update EventCounter.xml * Update IncrementingEventCounter.xml * Update IncrementingPollingCounter.xml * Update PollingCounter.xml
1 parent f0002bf commit ba6d145

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

xml/System.Diagnostics.Tracing/DiagnosticCounter.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<ReturnType>System.String</ReturnType>
6666
</ReturnValue>
6767
<Docs>
68-
<summary>Gets or sets display name of the counter.</summary>
68+
<summary>Gets or sets the display name of the counter.</summary>
6969
<value>The display name of the counter.</value>
7070
<remarks>
7171
<format type="text/markdown"><![CDATA[
@@ -95,8 +95,8 @@ The `DisplayName` provides a more display friendly name for the consumer side of
9595
<ReturnType>System.String</ReturnType>
9696
</ReturnValue>
9797
<Docs>
98-
<summary>To be added.</summary>
99-
<value>To be added.</value>
98+
<summary>Gets or sets the display units of the counter.</summary>
99+
<value>The display units of the counter.</value>
100100
<remarks>To be added.</remarks>
101101
</Docs>
102102
</Member>
@@ -173,4 +173,4 @@ After being disposed, this counter will do nothing, and its resources will be re
173173
</Docs>
174174
</Member>
175175
</Members>
176-
</Type>
176+
</Type>

xml/System.Diagnostics.Tracing/EventCounter.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ For an example of how to use the <xref:System.Diagnostics.Tracing.EventCounter>
132132
</ReturnValue>
133133
<Parameters />
134134
<Docs>
135-
<summary>To be added.</summary>
136-
<returns>To be added.</returns>
135+
<summary>Returns a string representation of the current event counter instance.</summary>
136+
<returns>The name, count and mean of the current event counter.</returns>
137137
<remarks>To be added.</remarks>
138138
</Docs>
139139
</Member>
@@ -215,4 +215,4 @@ For an example of how to use the <xref:System.Diagnostics.Tracing.EventCounter>
215215
</Docs>
216216
</Member>
217217
</Members>
218-
</Type>
218+
</Type>

xml/System.Diagnostics.Tracing/IncrementingEventCounter.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ The value of the `DisplayRateTimeScale` property is included as a string in the
127127
</ReturnValue>
128128
<Parameters />
129129
<Docs>
130-
<summary>To be added.</summary>
131-
<returns>To be added.</returns>
130+
<summary>Returns a string representation of the current incrementing event counter instance.</summary>
131+
<returns>The name and increment of the current incrementing event counter.</returns>
132132
<remarks>To be added.</remarks>
133133
</Docs>
134134
</Member>
135135
</Members>
136-
</Type>
136+
</Type>

xml/System.Diagnostics.Tracing/IncrementingPollingCounter.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ The value of the `DisplayRateTimeScale` property is included as a string in the
101101
</ReturnValue>
102102
<Parameters />
103103
<Docs>
104-
<summary>To be added.</summary>
105-
<returns>To be added.</returns>
104+
<summary>Returns a string representation of the current incrementing polling counter instance.</summary>
105+
<returns>The name and increment of the current incrementing polling counter.</returns>
106106
<remarks>To be added.</remarks>
107107
</Docs>
108108
</Member>
109109
</Members>
110-
</Type>
110+
</Type>

xml/System.Diagnostics.Tracing/PollingCounter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ For an example that uses <xref:System.Diagnostics.Tracing.PollingCounter> inside
7373
</ReturnValue>
7474
<Parameters />
7575
<Docs>
76-
<summary>To be added.</summary>
77-
<returns>To be added.</returns>
76+
<summary>Returns a string representation of the current polling counter instance.</summary>
77+
<returns>The name and mean of the current polling counter.</returns>
7878
<remarks>To be added.</remarks>
7979
</Docs>
8080
</Member>

0 commit comments

Comments
 (0)