public PrintLabelTxnMethod( PrintLabelTxn Cdo, PrintLabelTxnMethods Method, PrintLabelTxn_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( PrintLabelTxn printLabelTxn, PrintLabelTxn_Parameters parameters, PrintLabelTxn_Request request, out PrintLabelTxn_Result result) { result = (PrintLabelTxn_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)printLabelTxn, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IPrintLabelTxnService)this._Channel).GetActions(this._UserProfile, printLabelTxn, parameters, request, out result) : this.AddMethod((Method) new PrintLabelTxnMethod(printLabelTxn, PrintLabelTxnMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)printLabelTxn, (Parameters)parameters, (Request)request, (Result)result); } return(res); }