internal virtual void Fire_OnEventRaised(Guanwu.Notify.Views.PipelineEventEventArgs args)
 {
     if ((_OnEventRaised == null))
     {
     }
     else
     {
         _OnEventRaised.Invoke(this, args);
     }
 }
예제 #2
0
 public void Handler(object sender, Guanwu.Notify.Views.PipelineEventEventArgs args)
 {
     _contract.EventHandler(Guanwu.Notify.HostSideAdapters.PipelineEventEventArgsHostAdapter.ViewToContractAdapter(args));
 }
 public PipelineEventEventArgsViewToContractAddInAdapter(Guanwu.Notify.Views.PipelineEventEventArgs view)
 {
     _view = view;
 }
예제 #4
0
 internal static Guanwu.Notify.IPipelineEventEventArgsContract ViewToContractAdapter(Guanwu.Notify.Views.PipelineEventEventArgs view)
 {
     if ((view == null))
     {
         return(null);
     }
     if (view.GetType().Equals(typeof(PipelineEventEventArgsContractToViewHostAdapter)))
     {
         return(((PipelineEventEventArgsContractToViewHostAdapter)(view)).GetSourceContract());
     }
     else
     {
         return(new PipelineEventEventArgsViewToContractHostAdapter(view));
     }
 }