public ResultStatus GetActions( Transfer transfer, Transfer_Parameters parameters, Transfer_Request request, out Transfer_Result result) { result = (Transfer_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)transfer, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ITransferService)this._Channel).GetActions(this._UserProfile, transfer, parameters, request, out result) : this.AddMethod((Method) new TransferMethod(transfer, TransferMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)transfer, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public TransferMethod(Transfer Cdo, TransferMethods Method, Transfer_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }