Browse Source
- Cleaned up file structure. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5199 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
9 changed files with 157 additions and 16 deletions
@ -0,0 +1,63 @@ |
|||||||
|
// <file>
|
||||||
|
// <copyright see="prj:///doc/copyright.txt"/>
|
||||||
|
// <license see="prj:///doc/license.txt"/>
|
||||||
|
// <owner name="Siegfried Pammer" email="sie_pam@gmx.at"/>
|
||||||
|
// <version>$Revision$</version>
|
||||||
|
// </file>
|
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using System.Diagnostics; |
||||||
|
using System.Linq; |
||||||
|
|
||||||
|
namespace ICSharpCode.Profiler.Controller.Data |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Represents an entry in the list of events collected by the profiler.
|
||||||
|
/// </summary>
|
||||||
|
public class EventDataEntry |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// The id of the dataset this entry belongs to.
|
||||||
|
/// </summary>
|
||||||
|
public int DataSetId { get; set; } |
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The type of this event entry.
|
||||||
|
/// </summary>
|
||||||
|
public EventType Type { get; set; } |
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The id of NameMapping of this event entry.
|
||||||
|
/// </summary>
|
||||||
|
public int NameId { get; set; } |
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Additional data collected by the profiler.
|
||||||
|
/// </summary>
|
||||||
|
public string Data { get; set; } |
||||||
|
} |
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Defines kinds of events that can be handled by the profiler.
|
||||||
|
/// </summary>
|
||||||
|
public enum EventType : int |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Recorded event was an exception thrown by the profilee.
|
||||||
|
/// </summary>
|
||||||
|
Exception = 0, |
||||||
|
/// <summary>
|
||||||
|
/// Recorded event was a call to a Console.Write*/Read* method.
|
||||||
|
/// </summary>
|
||||||
|
Console = 1, |
||||||
|
/// <summary>
|
||||||
|
/// Recorded event was fired by Windows Forms controls.
|
||||||
|
/// </summary>
|
||||||
|
WindowsForms = 2, |
||||||
|
/// <summary>
|
||||||
|
/// Recorded event was fired by Windows Presentation Foundation controls.
|
||||||
|
/// </summary>
|
||||||
|
WindowsPresentationFoundation = 3 |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue