public PrintNCRLabelMethod( PrintNCRLabel Cdo, PrintNCRLabelMethods Method, PrintNCRLabel_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( PrintNCRLabel printNCRLabel, PrintNCRLabel_Parameters parameters, PrintNCRLabel_Request request, out PrintNCRLabel_Result result) { result = (PrintNCRLabel_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)printNCRLabel, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IPrintNCRLabelService)this._Channel).GetActions(this._UserProfile, printNCRLabel, parameters, request, out result) : this.AddMethod((Method) new PrintNCRLabelMethod(printNCRLabel, PrintNCRLabelMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)printNCRLabel, (Parameters)parameters, (Request)request, (Result)result); } return(res); }