示例#1
0
        public void End()
        {
            if (monitorEnabled && watch != null)
            {
                watch.Stop();

                var data = MonitorService.GetPageMonitorData(path);
                data.Append(this);

                Workbench.Current.Items.Remove(MonitorItemKey);
            }
        }
示例#2
0
 public void BeginRequest(HttpApplication app)
 {
     MonitorService.RequestBegin(app);
 }
示例#3
0
 public void EndRequest(HttpApplication app)
 {
     MonitorService.RequestEnd(app);
 }
示例#4
0
 public void Init()
 {
     MonitorService.Init();
     RouteTable.Routes.Ignore(String.Format("{0}/{{*pathInfo}}", MonitorService.CommandService.BathPath));
 }