Пример #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));
 }