Esempio n. 1
0
 public ResultStatus LoadESigDetails(
     ComputationMaint computationMaint,
     ComputationMaint_Request request,
     out ComputationMaint_Result result)
 {
     return(this.LoadESigDetails(computationMaint, (ComputationMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     ComputationMaint computationMaint,
     ComputationMaint_Request request,
     out ComputationMaint_Result result)
 {
     return(this.Freeze(computationMaint, (ComputationMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     ComputationMaint computationMaint,
     ComputationMaint_Request request,
     out ComputationMaint_Result result)
 {
     return(this.GetWIPMsgs(computationMaint, (ComputationMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ComputationMaintMethod(
     ComputationMaint Cdo,
     ComputationMaintMethods Method,
     ComputationMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Esempio n. 5
0
 public ResultStatus GetEnvironment(
     ComputationMaint cdo,
     ComputationMaint_Request request,
     out ComputationMaint_Result result)
 {
     result = (ComputationMaint_Result)null;
     try
     {
         return(((IComputationMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
        public ResultStatus AddDataTransaction(ComputationMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ComputationMaintMethod(cdo, ComputationMaintMethods.AddDataTransaction, (ComputationMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Esempio n. 7
0
        public ResultStatus ExecuteTransaction(
            ComputationMaint cdo,
            ComputationMaint_Request request,
            out ComputationMaint_Result result)
        {
            result = (ComputationMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComputationMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComputationMaintMethod(cdo, ComputationMaintMethods.ExecuteTransaction, (ComputationMaint_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);
        }
Esempio n. 8
0
        public ResultStatus LoadESigDetails(
            ComputationMaint computationMaint,
            ComputationMaint_LoadESigDetails_Parameters parameters,
            ComputationMaint_Request request,
            out ComputationMaint_Result result)
        {
            result = (ComputationMaint_Result)null;
            this.OnBeforeCall(nameof(LoadESigDetails), (DCObject)computationMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComputationMaintService)this._Channel).LoadESigDetails(this._UserProfile, computationMaint, parameters, request, out result) : this.AddMethod((Method) new ComputationMaintMethod(computationMaint, ComputationMaintMethods.LoadESigDetails, (ComputationMaint_Parameters)parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(LoadESigDetails), res, (DCObject)computationMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 9
0
 public ResultStatus ExecuteTransaction(ComputationMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (ComputationMaint_Request)null, out ComputationMaint_Result _));
 }
Esempio n. 10
0
 public ResultStatus Delete(ComputationMaint computationMaint)
 {
     return(this.Delete(computationMaint, (ComputationMaint_Parameters)null, (ComputationMaint_Request)null, out ComputationMaint_Result _));
 }