private void _monitor_OnEvent(object sender, lib.Containers.ETWEventContainerItem e) { Application.Current.Dispatcher.Invoke(() => { txtBxDLLLoads.Text = txtBxDLLLoads.Text.Insert(0, $"{e.MonitorType}: {e.Payload}{Environment.NewLine}"); }); }
private void Etw_OnEvent(object sender, lib.Containers.ETWEventContainerItem e) { Assert.IsNotNull(e); Assert.IsNotNull(e.MonitorType); Assert.IsNotNull(e.Timestamp); Assert.IsNotNull(e.Format); Assert.IsNotNull(e.id); Assert.IsNotNull(e.Payload); Assert.AreEqual(OutputFormat.CSV, e.Format); }