public CollectLotSamplingDataMethod( CollectLotSamplingData Cdo, CollectLotSamplingDataMethods Method, CollectLotSamplingData_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( CollectLotSamplingData collectLotSamplingData, CollectLotSamplingData_Parameters parameters, CollectLotSamplingData_Request request, out CollectLotSamplingData_Result result) { result = (CollectLotSamplingData_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)collectLotSamplingData, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ICollectLotSamplingDataService)this._Channel).GetActions(this._UserProfile, collectLotSamplingData, parameters, request, out result) : this.AddMethod((Method) new CollectLotSamplingDataMethod(collectLotSamplingData, CollectLotSamplingDataMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)collectLotSamplingData, (Parameters)parameters, (Request)request, (Result)result); } return(res); }