using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace TraceNet.Output { /// <summary> /// An entity for storing Trace information /// </summary> public class TraceEntry : IComparer<TraceEntry> { public int Indent { get; set; } public string MethodName { get; set; } public double MilliSeconds { get; set; } public int Serial { get; set; } public Hashtable Parameters { get; set; } public Exception Exception { get; set; } public object ReturnValue { get; set; } public bool IsWebMethod { get; set; } public TraceEntry(int Indent, string MethodName, double MilliSeconds, Hashtable Parameters, int Serial, object ReturnValue,bool IsWebMethod) { this.Indent = Indent; this.MethodName = MethodName; this.MilliSeconds = MilliSeconds; this.Parameters = Parameters; this.Serial = Serial; this.ReturnValue = ReturnValue; this.IsWebMethod = IsWebMethod; } public TraceEntry() { } #region IComparer<TraceEntry> Members public int Compare(TraceEntry x, TraceEntry y) { return x.Serial - y.Serial; } #endregion } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)