Exemple #1
0
 public IOpenSourceAutomationAddInViewToContractHostAdapter(OpenSourceAutomation.IOpenSourceAutomationAddInv2 view)
 {
     _view = view;
 }
Exemple #2
0
 internal static OpenSourceAutomation.Contracts.IOpenSourceAutomationAddInContract ViewToContractAdapter(OpenSourceAutomation.IOpenSourceAutomationAddInv2 view)
 {
     if ((view == null))
     {
         return(null);
     }
     if (view.GetType().Equals(typeof(IOpenSourceAutomationAddInContractToViewAddInAdapter)))
     {
         return(((IOpenSourceAutomationAddInContractToViewAddInAdapter)(view)).GetSourceContract());
     }
     else
     {
         return(new IOpenSourceAutomationAddInViewToContractAddInAdapter(view));
     }
 }
 public IOpenSourceAutomationAddInViewToContractAddInAdapter(OpenSourceAutomation.IOpenSourceAutomationAddInv2 view)
 {
     _view = view;
 }