packages/System.Diagnostics.DiagnosticSource.8.0.0/lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml
(开头部分) 149KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Diagnostics.DiagnosticSource</name>
</assembly>
<members>
<member name="T:System.Diagnostics.Activity">
<summary>Represents an operation with context to be used for logging.</summary>
</member>
<member name="E:System.Diagnostics.Activity.CurrentChanged">
<summary>Occurs when the <see cref="P:System.Diagnostics.Activity.Current" /> value changes.</summary>
</member>
<member name="M:System.Diagnostics.Activity.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Activity" /> class.</summary>
<param name="operationName">The name of the operation.</param>
</member>
<member name="M:System.Diagnostics.Activity.AddBaggage(System.String,System.String)">
<summary>Updates the <see cref="T:System.Diagnostics.Activity" /> to have a new baggage item with the specified key and value.</summary>
<param name="key">The baggage key.</param>
<param name="value">The baggage value.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="M:System.Diagnostics.Activity.AddEvent(System.Diagnostics.ActivityEvent)">
<summary>Adds the specified activity event to the events list.</summary>
<param name="e">The activity event to add.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="M:System.Diagnostics.Activity.AddTag(System.String,System.Object)">
<summary>Updates the activity to have a tag with an additional <paramref name="key" /> and <paramref name="value" />.</summary>
<param name="key">The tag key name.</param>
<param name="value">The tag value mapped to the input key.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="M:System.Diagnostics.Activity.AddTag(System.String,System.String)">
<summary>Updates the <see cref="T:System.Diagnostics.Activity" /> to have a new tag with the provided <paramref name="key" /> and <paramref name="value" />.</summary>
<param name="key">The tag key.</param>
<param name="value">The tag value.</param>
<returns>
<see langword="this" /> for convenient chaining.</returns>
</member>
<member name="M:System.Diagnostics.Activity.Dispose">
<summary>Stops the activity if it is already started and notifies any event listeners. Nothing will happen otherwise.</summary>
</member>
<member name="M:System.Diagnostics.Activity.Dispose(System.Boolean)">
<summary>When overriden by a derived type, this method releases any allocated resources.</summary>
<param name="disposing">
<see langword="false" /> if the method is being called from the finalizer; <see langword="true" /> if calling from user code.</param>
</member>
<member name="M:System.Diagnostics.Activity.EnumerateEvents">
<summary>Enumerates the <see cref="T:System.Diagnostics.ActivityEvent" /> objects attached to this Activity object.</summary>
<returns>
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
</member>
<member name="M:System.Diagnostics.Activity.EnumerateLinks">
<summary>Enumerates the <see cref="T:System.Diagnostics.ActivityLink" /> objects attached to this Activity object.</summary>
<returns>
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
后面还有 1826 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
