// // // // // $Revision$ // using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace ICSharpCode.Profiler.Controller.Data { /// /// Represents an entry in the list of events collected by the profiler. /// public class EventDataEntry { /// /// The id of the dataset this entry belongs to. /// public int DataSetId { get; set; } /// /// The type of this event entry. /// public EventType Type { get; set; } /// /// The id of NameMapping of this event entry. /// public int NameId { get; set; } /// /// Additional data collected by the profiler. /// public string Data { get; set; } } /// /// Defines kinds of events that can be handled by the profiler. /// public enum EventType : int { /// /// Recorded event was an exception thrown by the profilee. /// Exception = 0, /// /// Recorded event was a call to a Console.Write*/Read* method. /// Console = 1, /// /// Recorded event was fired by Windows Forms controls. /// WindowsForms = 2, /// /// Recorded event was fired by Windows Presentation Foundation controls. /// WindowsPresentationFoundation = 3 } }