protected override void OnResultExecuted(ResultExecutedContext filterContext) { base.OnResultExecuted(filterContext); if (Site != null) { SiteEventDispatcher.OnPostSiteRequestExecute(Site, this.HttpContext); } }
protected override void ExecuteCore() { if (this.Site == null) { OnSiteNotExists(); } else { SiteEventDispatcher.OnPreSiteRequestExecute(Site, this.HttpContext); base.ExecuteCore(); } }