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));
     }
 }