Example #1
0
 public ResultStatus GetActions(
     Hold hold,
     Hold_Request request,
     out Hold_Result result)
 {
     return(this.GetActions(hold, (Hold_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus CreateParametricData(
     Hold hold,
     Hold_Request request,
     out Hold_Result result)
 {
     return(this.CreateParametricData(hold, (Hold_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus ProcessComputation(
     Hold hold,
     Hold_Request request,
     out Hold_Result result)
 {
     return(this.ProcessComputation(hold, (Hold_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus LoadESigDetails(
     Hold hold,
     Hold_Request request,
     out Hold_Result result)
 {
     return(this.LoadESigDetails(hold, (Hold_LoadESigDetails_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus CommitTransaction(Hold_Request request, out Hold_Result result)
 {
     result = (Hold_Result)null;
     try
     {
         HoldMethod[] methods = new HoldMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IHoldService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
 public ResultStatus GetEnvironment(
     Hold cdo,
     Hold_Request request,
     out Hold_Result result)
 {
     result = (Hold_Result)null;
     try
     {
         return(((IHoldService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #7
0
        public ResultStatus ExecuteTransaction(
            Hold cdo,
            Hold_Request request,
            out Hold_Result result)
        {
            result = (Hold_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHoldService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new HoldMethod(cdo, HoldMethods.ExecuteTransaction, (Hold_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);
        }
Example #8
0
        public ResultStatus GetActions(
            Hold hold,
            Hold_Parameters parameters,
            Hold_Request request,
            out Hold_Result result)
        {
            result = (Hold_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)hold, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHoldService)this._Channel).GetActions(this._UserProfile, hold, parameters, request, out result) : this.AddMethod((Method) new HoldMethod(hold, HoldMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)hold, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #9
0
 public ResultStatus ExecuteTransaction(Hold_Request request, out Hold_Result result)
 {
     return(this.ExecuteTransaction((Hold)null, request, out result));
 }
Example #10
0
 public ResultStatus GetEnvironment(Hold_Request request, out Hold_Result result)
 {
     return(this.GetEnvironment((Hold)null, request, out result));
 }