public ResultStatus GetActions( NCRTxn nCRTxn, NCRTxn_Parameters parameters, NCRTxn_Request request, out NCRTxn_Result result) { result = (NCRTxn_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)nCRTxn, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INCRTxnService)this._Channel).GetActions(this._UserProfile, nCRTxn, parameters, request, out result) : this.AddMethod((Method) new NCRTxnMethod(nCRTxn, NCRTxnMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)nCRTxn, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public NCRTxnMethod(NCRTxn Cdo, NCRTxnMethods Method, NCRTxn_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }