public IHmeAsyncResultViewToContractAddInAdapter(Tivo.Has.IHmeAsyncResult view) { _view = view; }
internal static Tivo.Has.Contracts.IHmeAsyncResultContract ViewToContractAdapter(Tivo.Has.IHmeAsyncResult view) { if (view.GetType().Equals(typeof(IHmeAsyncResultContractToViewAddInAdapter))) { return(((IHmeAsyncResultContractToViewAddInAdapter)(view)).GetSourceContract()); } else { return(new IHmeAsyncResultViewToContractAddInAdapter(view)); } }