Skip to content

DiagnosticEventCollector Properties

A test utility for collecting and waiting on diagnostic events. Subscribes to System.Diagnostics.DiagnosticListener.AllListeners and captures events from listeners matching specified patterns.

Events

get
View source
public IReadOnlyList<DiagnosticEvent> Events
Gets all captured diagnostic events.