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