コード例 #1
0
 public ResultStatus GetActions(
     CancelApproval cancelApproval,
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.GetActions(cancelApproval, (CancelApproval_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus CreateParametricData(
     CancelApproval cancelApproval,
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.CreateParametricData(cancelApproval, (CancelApproval_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus ProcessComputation(
     CancelApproval cancelApproval,
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.ProcessComputation(cancelApproval, (CancelApproval_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus LoadESigDetails(
     CancelApproval cancelApproval,
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.LoadESigDetails(cancelApproval, (CancelApproval_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #5
0
 public ResultStatus GetEnvironment(
     CancelApproval cdo,
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     result = (CancelApproval_Result)null;
     try
     {
         return(((ICancelApprovalService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
 public ResultStatus CommitTransaction(
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     result = (CancelApproval_Result)null;
     try
     {
         CancelApprovalMethod[] methods = new CancelApprovalMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ICancelApprovalService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #7
0
        public ResultStatus ExecuteTransaction(
            CancelApproval cdo,
            CancelApproval_Request request,
            out CancelApproval_Result result)
        {
            result = (CancelApproval_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICancelApprovalService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new CancelApprovalMethod(cdo, CancelApprovalMethods.ExecuteTransaction, (CancelApproval_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #8
0
        public ResultStatus ResolveParametricData(
            CancelApproval cancelApproval,
            CancelApproval_Parameters parameters,
            CancelApproval_Request request,
            out CancelApproval_Result result)
        {
            result = (CancelApproval_Result)null;
            this.OnBeforeCall(nameof(ResolveParametricData), (DCObject)cancelApproval, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICancelApprovalService)this._Channel).ResolveParametricData(this._UserProfile, cancelApproval, parameters, request, out result) : this.AddMethod((Method) new CancelApprovalMethod(cancelApproval, CancelApprovalMethods.ResolveParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ResolveParametricData), res, (DCObject)cancelApproval, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #9
0
 public ResultStatus ExecuteTransaction(
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.ExecuteTransaction((CancelApproval)null, request, out result));
 }
コード例 #10
0
 public ResultStatus GetEnvironment(
     CancelApproval_Request request,
     out CancelApproval_Result result)
 {
     return(this.GetEnvironment((CancelApproval)null, request, out result));
 }