internal static OriginMenu.Views.IReceiverEntry ContractToViewAdapter(Start9.Api.Contracts.IReceiverEntryContract contract) { if ((contract == null)) { return null; } if (((System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(contract) != true) && contract.GetType().Equals(typeof(IReceiverEntryViewToContractAddInAdapter)))) { return ((IReceiverEntryViewToContractAddInAdapter)(contract)).GetSourceView(); } else { return new IReceiverEntryContractToViewAddInAdapter(contract); } }
public IReceiverEntryContractToViewAddInAdapter(Start9.Api.Contracts.IReceiverEntryContract contract) { _contract = contract; _handle = new System.AddIn.Pipeline.ContractHandle(contract); MessageReceived_Handler = new ExperienceMenu.Adapters.IMessageEventHandlerViewToContractAddInAdapter(this, s_MessageReceivedEventAddFire); }
public IReceiverEntryContractToViewAddInAdapter(Start9.Api.Contracts.IReceiverEntryContract contract) { _contract = contract; _handle = new System.AddIn.Pipeline.ContractHandle(contract); }