} // Run public virtual void Run(bool bValidateCredentialsOnly, int nCustomerMarketplaceID) { try { DataHarvester.Run(bValidateCredentialsOnly, nCustomerMarketplaceID); } catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) { throw new ConnectionFailException(cfe.Message, cfe); } catch (Integration.ChannelGrabberAPI.ApiException ae) { throw new ApiException(ae.Message, ae); } // try } // Run
} // Run public virtual void Done() { try { DataHarvester.Done(); } catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) { throw new ConnectionFailException(cfe.Message, cfe); } catch (Integration.ChannelGrabberAPI.ApiException ae) { throw new ApiException(ae.Message, ae); } // try } // Done
} // constructor public virtual bool Init() { try { return(DataHarvester.Init()); } catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) { throw new ConnectionFailException(cfe.Message, cfe); } catch (Integration.ChannelGrabberAPI.ApiException ae) { throw new ApiException(ae.Message, ae); } // try } // Init