using System.Collections.Generic;
namespace System.Web.Instrumentation
{
public sealed class PageInstrumentationService {
///
/// Gets or sets a boolean indicating if instrumentation is active for the entire application
///
///
/// Page Instrumentation is a per-request service, and may not be active for a particular request, however this flag MUST be true
/// for any request to use Page Instrumentation.
///
public static bool IsEnabled { get; set; }
private IList _executionListeners = new List();
///
/// Gets a list of listeners which are subscribed to the page execution process.
///
///
/// Guaranteed not to be null, but MAY be an empty list.
///
public IList ExecutionListeners { get { return _executionListeners; } }
}
}