public CloseCPStatusesMethod( CloseCPStatuses Cdo, CloseCPStatusesMethods Method, CloseCPStatuses_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( CloseCPStatuses closeCPStatuses, CloseCPStatuses_Parameters parameters, CloseCPStatuses_Request request, out CloseCPStatuses_Result result) { result = (CloseCPStatuses_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)closeCPStatuses, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ICloseCPStatusesService)this._Channel).GetActions(this._UserProfile, closeCPStatuses, parameters, request, out result) : this.AddMethod((Method) new CloseCPStatusesMethod(closeCPStatuses, CloseCPStatusesMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)closeCPStatuses, (Parameters)parameters, (Request)request, (Result)result); } return(res); }