public virtual void OnBeforeViewComponent( IProxyActionDescriptor actionDescriptor, IProxyViewComponentContext viewComponentContext, object viewComponent) { BeforeViewComponent = new OnBeforeViewComponentEventData() { ActionDescriptor = actionDescriptor, ViewComponentContext = viewComponentContext, ViewComponent = viewComponent }; }