Пример #1
0
 protected override void OnResultExecuted(ResultExecutedContext filterContext)
 {
     base.OnResultExecuted(filterContext);
     if (Site != null)
     {
         SiteEventDispatcher.OnPostSiteRequestExecute(Site, this.HttpContext);
     }
 }
Пример #2
0
        protected override void ExecuteCore()
        {
            if (this.Site == null)
            {
                OnSiteNotExists();
            }
            else
            {
                SiteEventDispatcher.OnPreSiteRequestExecute(Site, this.HttpContext);

                base.ExecuteCore();
            }
        }