public CswNbtWebServiceInspections.CswNbtInspectionGet byBarcode(string Barcode) { //delegate has to be static because you can't create an instance yet: you don't have resources until the delegate is actually called CswNbtWebServiceInspections.CswNbtInspectionGet Ret = new CswNbtWebServiceInspections.CswNbtInspectionGet(); var SvcDriver = new CswWebSvcDriver <CswNbtWebServiceInspections.CswNbtInspectionGet, string>( CswWebSvcResourceInitializer: new CswWebSvcResourceInitializerNbt(_Context), ReturnObj: Ret, WebSvcMethodPtr: CswNbtWebServiceInspections.getInspectionsByBarcode, ParamObj: Barcode ); SvcDriver.run(); return(Ret); }
public CswNbtWebServiceInspections.CswNbtInspectionGet byDateRange(string StartingDate, string EndingDate) { //delegate has to be static because you can't create an instance yet: you don't have resources until the delegate is actually called CswNbtWebServiceInspections.CswNbtInspectionGet Ret = new CswNbtWebServiceInspections.CswNbtInspectionGet(); CswNbtWebServiceInspections.Dates Dates = new CswNbtWebServiceInspections.Dates() { StartingDate = StartingDate, EndingDate = EndingDate }; var SvcDriver = new CswWebSvcDriver <CswNbtWebServiceInspections.CswNbtInspectionGet, CswNbtWebServiceInspections.Dates>( CswWebSvcResourceInitializer: new CswWebSvcResourceInitializerNbt(_Context), ReturnObj: Ret, WebSvcMethodPtr: CswNbtWebServiceInspections.getInspectionsByDateRange, ParamObj: Dates ); SvcDriver.run(); return(Ret); }