private static void Initialize(HttpApplication context)
        {
            IHttpApplication application = new HttpApplicationProxy(context);

            OrderedFilters.ForEach(x => x.Initialize(application));
            BindEvents(context);
        }
 private static void BindEvents(HttpApplication context)
 {
     context.BeginRequest            += (sender, e) => OrderedFilters.ForEach(x => x.OnBeginRequest(new HttpApplicationProxy((HttpApplication)sender)));
     context.Error                   += (sender, e) => OrderedFilters.ForEach(x => x.OnError(new HttpApplicationProxy((HttpApplication)sender)));
     context.EndRequest              += (sender, e) => OrderedFilters.ForEach(x => x.OnEndRequest(new HttpApplicationProxy((HttpApplication)sender)));
     context.PostMapRequestHandler   += (sender, e) => OrderedFilters.ForEach(x => x.OnPostMapRequest(new HttpApplicationProxy((HttpApplication)sender)));
     context.PostAuthenticateRequest += (sender, e) => OrderedFilters.ForEach(x => x.OnPostAuthenticate(new HttpApplicationProxy((HttpApplication)sender)));
 }