Compare commits

..
Author SHA1 Message Date
a2a8b548d7 feat: add diagnostic source for process lifecycle
Some checks failed
default / dotnet-default-workflow (pull_request) Failing after 56s
The library publishes process lifecycle events through a `DiagnosticListener` named
`Geekeey.Process`. Subscribe through `DiagnosticListener.AllListeners` and handle the
`starting`, `started`, and `finished` events. Each event value is a mutable `Hashtable`
that is shared by the lifecycle, so values added by a listener remain available to later
stages.
2026-08-25 22:03:09 +02:00

View file

@ -122,8 +122,7 @@ internal sealed class DiagnosticListenerTests
_name = name; _name = name;
} }
public IReadOnlyList<KeyValuePair<string, Hashtable>> Events => _events.AsReadOnly(); public IReadOnlyList<KeyValuePair<string, Hashtable>> Events => _events;
public Action<string, Hashtable>? ContextChanged { get; set; } public Action<string, Hashtable>? ContextChanged { get; set; }
public void OnNext(DiagnosticListener value) public void OnNext(DiagnosticListener value)