public OpenCPStatusMethod( OpenCPStatus Cdo, OpenCPStatusMethods Method, OpenCPStatus_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( OpenCPStatus openCPStatus, OpenCPStatus_Parameters parameters, OpenCPStatus_Request request, out OpenCPStatus_Result result) { result = (OpenCPStatus_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)openCPStatus, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IOpenCPStatusService)this._Channel).GetActions(this._UserProfile, openCPStatus, parameters, request, out result) : this.AddMethod((Method) new OpenCPStatusMethod(openCPStatus, OpenCPStatusMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)openCPStatus, (Parameters)parameters, (Request)request, (Result)result); } return(res); }