コード例 #1
0
 public ResultStatus GetActions(
     RouteApprovalSheet routeApprovalSheet,
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.GetActions(routeApprovalSheet, (RouteApprovalSheet_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus CreateParametricData(
     RouteApprovalSheet routeApprovalSheet,
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.CreateParametricData(routeApprovalSheet, (RouteApprovalSheet_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus ProcessComputation(
     RouteApprovalSheet routeApprovalSheet,
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.ProcessComputation(routeApprovalSheet, (RouteApprovalSheet_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus LoadESigDetails(
     RouteApprovalSheet routeApprovalSheet,
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.LoadESigDetails(routeApprovalSheet, (RouteApprovalSheet_Parameters)null, request, out result));
 }
コード例 #5
0
 public ResultStatus GetEnvironment(
     RouteApprovalSheet cdo,
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     result = (RouteApprovalSheet_Result)null;
     try
     {
         return(((IRouteApprovalSheetService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
 public ResultStatus CommitTransaction(
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     result = (RouteApprovalSheet_Result)null;
     try
     {
         RouteApprovalSheetMethod[] methods = new RouteApprovalSheetMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IRouteApprovalSheetService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #7
0
        public ResultStatus ExecuteTransaction(
            RouteApprovalSheet cdo,
            RouteApprovalSheet_Request request,
            out RouteApprovalSheet_Result result)
        {
            result = (RouteApprovalSheet_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRouteApprovalSheetService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new RouteApprovalSheetMethod(cdo, RouteApprovalSheetMethods.ExecuteTransaction, (RouteApprovalSheet_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 GetActions(
            RouteApprovalSheet routeApprovalSheet,
            RouteApprovalSheet_Parameters parameters,
            RouteApprovalSheet_Request request,
            out RouteApprovalSheet_Result result)
        {
            result = (RouteApprovalSheet_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)routeApprovalSheet, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRouteApprovalSheetService)this._Channel).GetActions(this._UserProfile, routeApprovalSheet, parameters, request, out result) : this.AddMethod((Method) new RouteApprovalSheetMethod(routeApprovalSheet, RouteApprovalSheetMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)routeApprovalSheet, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #9
0
 public ResultStatus ExecuteTransaction(
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.ExecuteTransaction((RouteApprovalSheet)null, request, out result));
 }
コード例 #10
0
 public ResultStatus GetEnvironment(
     RouteApprovalSheet_Request request,
     out RouteApprovalSheet_Result result)
 {
     return(this.GetEnvironment((RouteApprovalSheet)null, request, out result));
 }