Exemplo n.º 1
0
 public ResultStatus GetActions(
     OpenCPStatus openCPStatus,
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.GetActions(openCPStatus, (OpenCPStatus_Parameters)null, request, out result));
 }
Exemplo n.º 2
0
 public ResultStatus CreateParametricData(
     OpenCPStatus openCPStatus,
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.CreateParametricData(openCPStatus, (OpenCPStatus_Parameters)null, request, out result));
 }
Exemplo n.º 3
0
 public ResultStatus ProcessComputation(
     OpenCPStatus openCPStatus,
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.ProcessComputation(openCPStatus, (OpenCPStatus_Parameters)null, request, out result));
 }
Exemplo n.º 4
0
 public ResultStatus LoadESigDetails(
     OpenCPStatus openCPStatus,
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.LoadESigDetails(openCPStatus, (OpenCPStatus_LoadESigDetails_Parameters)null, request, out result));
 }
Exemplo n.º 5
0
 public ResultStatus GetEnvironment(
     OpenCPStatus cdo,
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     result = (OpenCPStatus_Result)null;
     try
     {
         return(((IOpenCPStatusService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 6
0
 public ResultStatus CommitTransaction(
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     result = (OpenCPStatus_Result)null;
     try
     {
         OpenCPStatusMethod[] methods = new OpenCPStatusMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IOpenCPStatusService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 7
0
        public ResultStatus ExecuteTransaction(
            OpenCPStatus cdo,
            OpenCPStatus_Request request,
            out OpenCPStatus_Result result)
        {
            result = (OpenCPStatus_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOpenCPStatusService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new OpenCPStatusMethod(cdo, OpenCPStatusMethods.ExecuteTransaction, (OpenCPStatus_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);
        }
Exemplo n.º 8
0
        public ResultStatus GetActions(
            OpenCPStatus openCPStatus,
            OpenCPStatus_Parameters parameters,
            OpenCPStatus_Request request,
            out OpenCPStatus_Result result)
        {
            result = (OpenCPStatus_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)openCPStatus, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOpenCPStatusService)this._Channel).GetActions(this._UserProfile, openCPStatus, parameters, request, out result) : this.AddMethod((Method) new OpenCPStatusMethod(openCPStatus, OpenCPStatusMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)openCPStatus, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemplo n.º 9
0
 public ResultStatus ExecuteTransaction(
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.ExecuteTransaction((OpenCPStatus)null, request, out result));
 }
Exemplo n.º 10
0
 public ResultStatus GetEnvironment(
     OpenCPStatus_Request request,
     out OpenCPStatus_Result result)
 {
     return(this.GetEnvironment((OpenCPStatus)null, request, out result));
 }