public IHmeAsyncCallbackViewToContractAddInAdapter(Tivo.Has.IHmeAsyncCallback view)
 {
     _view = view;
 }
Example #2
0
 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));
     }
 }