Created
June 3, 2021 16:08
-
-
Save neuecc/06e7bd724ab247c99b2cf178b57c8a95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public sealed class MessagePipeDiagnosticsInfo | |
{ | |
/// <summary>Get current subscribed count.</summary> | |
public int SubscribeCount { get; } | |
| |
/// <summary> | |
/// When MessagePipeOptions.EnableCaptureStackTrace is enabled, list all stacktrace on subscribe. | |
/// </summary> | |
public StackTraceInfo[] GetCapturedStackTraces(bool ascending = true); | |
| |
/// <summary> | |
/// When MessagePipeOptions.EnableCaptureStackTrace is enabled, groped by caller of subscribe. | |
/// </summary> | |
public ILookup<string, StackTraceInfo> GetGroupedByCaller(bool ascending = true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment