Created
February 21, 2019 20:23
-
-
Save chrisnas/3609f0d3d4b9ad1248434f8e9712be38 to your computer and use it in GitHub Desktop.
This file contains 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
private bool IsMonitoredEvent(TraceEvent traceEvent) | |
{ | |
var isMonitored = traceEvent.ProcessID == _monitoredPid; | |
if (isMonitored) | |
{ | |
NotifyProcessedEvent(traceEvent); | |
} | |
return isMonitored; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment