Esempio n. 1
0
 public IHmeAsyncResultViewToContractAddInAdapter(Tivo.Has.IHmeAsyncResult view)
 {
     _view = view;
 }
Esempio n. 2
0
 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));
     }
 }