Пример #1
0
        public static List <object> GetProbeEvents(Guid probe)
        {
            MessageTraceSession messageTraceSession = new MessageTraceSession();
            MessageTrace        messageTrace        = messageTraceSession.Read(SystemProbeConstants.TenantID, probe);
            List <object>       events = new List <object>();

            if (messageTrace != null)
            {
                messageTrace.Events.ForEach(delegate(MessageEvent e)
                {
                    events.Add(SystemProbeData.CreateEventRecord(e));
                });
            }
            return(events);
        }
Пример #2
0
 private void _terminalViewModel_TraceMessageInserted(object sender, string message)
 {
     MessageTrace.ScrollIntoView(message);
 }