Files
dotnet-bot adf899c629 Adding System.Data..., System.ServiceModel..., and System.Web...
Adding reference source for
System.Data
System.Data.DataSetExtensions
System.Data.Entity
System.Data.Entity.Design
System.Data.Linq
System.Data.SqlXml
System.ServiceModel
System.ServiceModel.Activation
System.ServiceModel.Activities
System.ServiceModel.Channels
System.ServiceModel.Discovery
System.ServiceModel.Internals
System.ServiceModel.Routing
System.ServiceModel.WasHosting
System.ServiceModel.Web
System.Web
System.Web.ApplicationServices
System.Web.DynamicData
System.Web.Entity
System.Web.Entity.Design
System.Web.Extensions
System.Web.Mobile
System.Web.Routing
System.Web.Services
System.Xml
System.Xml.Linq
2016-05-03 00:07:37 +02:00

26 lines
1.0 KiB
C#

using System.Collections.Generic;
namespace System.Web.Instrumentation
{
public sealed class PageInstrumentationService {
/// <summary>
/// Gets or sets a boolean indicating if instrumentation is active for the entire application
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
public static bool IsEnabled { get; set; }
private IList<PageExecutionListener> _executionListeners = new List<PageExecutionListener>();
/// <summary>
/// Gets a list of listeners which are subscribed to the page execution process.
/// </summary>
/// <remarks>
/// Guaranteed not to be null, but MAY be an empty list.
/// </remarks>
public IList<PageExecutionListener> ExecutionListeners { get { return _executionListeners; } }
}
}