Aqueduct.Web.Diagnostics.TimingModule.OnBeginRequest C# (CSharp) Method

OnBeginRequest() private method

private OnBeginRequest ( object sender, System e ) : void
sender object
e System
return void
        void OnBeginRequest(object sender, System.EventArgs e)
        {
            if (HttpContext.Current.IsDebuggingEnabled)
            {
                var stopwatch = new Stopwatch();
                HttpContext.Current.Items["Stopwatch"] = stopwatch;
                stopwatch.Start();
            }
        }