public IHmeAsyncCallbackViewToContractAddInAdapter(Tivo.Has.IHmeAsyncCallback view) { _view = view; }
internal static Tivo.Has.Contracts.IHmeAsyncCallbackContract ViewToContractAdapter(Tivo.Has.IHmeAsyncCallback view) { if (view.GetType().Equals(typeof(IHmeAsyncCallbackContractToViewAddInAdapter))) { return(((IHmeAsyncCallbackContractToViewAddInAdapter)(view)).GetSourceContract()); } else { return(new IHmeAsyncCallbackViewToContractAddInAdapter(view)); } }