Ejemplo n.º 1
0
        public TraceManager()
        {
            TraceEventSession.SetDebugPrivilege();

            _handlers = new Dictionary <EventType, Action <TraceEvent> > {
                { EventType.ProcessStart, obj => HandleEvent(obj, EventType.ProcessStart) },
            };
        }