private void SetUpServices() { getServiceOwnerArchiveReporteeElements.AssignActions( () => { InvokeService(_archiveFunc.GetArchiveCommonAgencyReporteeElementsEc, _acaShipment, ref _soaRebev2List, "GetArchiveReporteeElements"); }, () => { SetViewedItem(_acaShipment, "SOA Search BE"); }, () => { InvokeSaveShipment(_acaShipment); }, () => { _acaShipment = InvokeLoad <ArchiveCommonAgencyShipment>(); }, () => { SetViewedItem(SoaRebev2ListArray, "Result"); }, () => { InvokeSave(_soaRebev2List); } ); testController.AssignActions(() => { InvokeService(_archiveFunc.TestArchiveCommonAgency, new BaseShipment(), "Test"); }); }
public virtual void SetUpObjectsForUse() { _acaShipment = new ArchiveCommonAgencyShipment() { SoaSearch = new ExternalSOASearchBE() }; _soaRebev2List = new ServiceOwnerArchiveReporteeElementBEV2List(); SetViewedItem(_acaShipment.SoaSearch, "ExternalSOASearchBE"); _archiveFunc = new ArchiveCommonAgencyEndPointFunctionality(); _archiveFunc.ReturnMessageXml += ReturnMessageXmlHandler; SetUpObjectsForPropertyGrid(); SetUpServices(); }