public virtual void OnAfterView(IProxyView view, IProxyViewContext viewContext)
 {
     AfterView = new OnAfterViewEventData()
     {
         View        = view,
         ViewContext = viewContext,
     };
 }
 public virtual void OnBeforeView(IProxyView view, IProxyViewContext viewContext)
 {
     BeforeView = new OnBeforeViewEventData()
     {
         View        = view,
         ViewContext = viewContext,
     };
 }
 public virtual void OnViewComponentAfterViewExecute(
     IProxyActionDescriptor actionDescriptor,
     IProxyViewComponentContext viewComponentContext,
     IProxyView view)
 {
     ViewComponentAfterViewExecute = new OnViewComponentAfterViewExecuteEventData()
     {
         ActionDescriptor     = actionDescriptor,
         ViewComponentContext = viewComponentContext,
         View = view
     };
 }
Exemple #4
0
 public virtual void OnViewResultViewFound(
     IProxyActionContext actionContext,
     IProxyActionResult result,
     string viewName,
     IProxyView view)
 {
     ViewResultViewFound = new OnViewResultViewFoundEventData()
     {
         ActionContext = actionContext,
         Result        = result,
         ViewName      = viewName,
         View          = view,
     };
 }
 public virtual void OnViewResultViewFound(
     IProxyActionContext actionContext,
     IProxyActionResult result,
     string viewName,
     IProxyView view)
 {
     ViewResultViewFound = new OnViewResultViewFoundEventData()
     {
         ActionContext = actionContext,
         Result = result,
         ViewName = viewName,
         View = view,
     };
 }
 public virtual void OnViewComponentBeforeViewExecute(
     IProxyActionDescriptor actionDescriptor,
     IProxyViewComponentContext viewComponentContext,
     IProxyView view)
 {
     ViewComponentBeforeViewExecute = new OnViewComponentBeforeViewExecuteEventData()
     {
         ActionDescriptor = actionDescriptor,
         ViewComponentContext = viewComponentContext,
         View = view
     };
 }
 public virtual void OnBeforeView(IProxyView view, IProxyViewContext viewContext)
 {
     BeforeView = new OnBeforeViewEventData()
     {
         View = view,
         ViewContext = viewContext,
     };
 }
 public virtual void OnAfterView(IProxyView view, IProxyViewContext viewContext)
 {
     AfterView = new OnAfterViewEventData()
     {
         View = view,
         ViewContext = viewContext,
     };
 }
 public ProxyPresenter(IProxyView view) : base(view)
 {
     _model = new ProxyModel(ViewInfo);
 }