2 types derived from RenderTraceListener
System.Web (2)
UI\RenderTraceListener.cs (2)
98private sealed class NullRenderTraceListener : RenderTraceListener { 101private sealed class RenderTraceListenerList : RenderTraceListener {
24 references to RenderTraceListener
System.Web (24)
UI\Control.cs (3)
3477RenderTraceListener.CurrentListeners.BeginRendering(writer, traceObject); 3485RenderTraceListener.CurrentListeners.EndRendering(writer, traceObject); 3506RenderTraceListener.CurrentListeners.SetTraceData(tracedObject, traceDataKey, traceDataValue);
UI\ControlBuilder.cs (1)
1550RenderTraceListener.CurrentListeners.ShareTraceData(this, obj);
UI\RenderTraceListener.cs (20)
17private static readonly RenderTraceListener _nullListener = new NullRenderTraceListener(); 19private static List<Func<RenderTraceListener>> _factories; 25public static IList<Func<RenderTraceListener>> ListenerFactories { 28_factories = new List<Func<RenderTraceListener>>(); 34internal static RenderTraceListener CurrentListeners { 37RenderTraceListener listener = HttpContext.Current.Items[typeof(RenderTraceListener)] as RenderTraceListener; 40HttpContext.Current.Items[typeof(RenderTraceListener)] = listener; 49private static RenderTraceListener CreateListener(HttpContext context) { 50List<RenderTraceListener> listeners = new List<RenderTraceListener>(); 52foreach (Func<RenderTraceListener> factory in _factories) { 53RenderTraceListener listener = factory(); 102private readonly List<RenderTraceListener> _listeners; 104internal RenderTraceListenerList(List<RenderTraceListener> listeners) { 109foreach (RenderTraceListener listener in _listeners) { 115foreach (RenderTraceListener listener in _listeners) { 121foreach (RenderTraceListener listener in _listeners) { 127foreach (RenderTraceListener listener in _listeners) {