Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created June 2, 2022 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/c3105df7d7cb10f882e0dd90c3b1aa3d to your computer and use it in GitHub Desktop.
Save lgolubyev/c3105df7d7cb10f882e0dd90c3b1aa3d to your computer and use it in GitHub Desktop.
namespace System.Diagnostics
{
partial class Activity
{
public Enumerator<KeyValuePair<string,object>> EnumerateTagObjects();
public Enumerator<ActivityLink> EnumerateLinks();
public Enumerator<ActivityEvent> EnumerateEvents();
public struct Enumerator<T>
{
public readonly Enumerator<T> GetEnumerator();
public readonly ref T Current;
public bool MoveNext();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment