internal virtual void Fire_OnEventRaised(Guanwu.Notify.Views.PipelineEventEventArgs args) { if ((_OnEventRaised == null)) { } else { _OnEventRaised.Invoke(this, args); } }
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; }
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)); } }