Пример #1
0
 public ResultStatus CreateParametricData(
     Rework rework,
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.CreateParametricData(rework, (Rework_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetActions(
     Rework rework,
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.GetActions(rework, (Rework_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus ValidateReworkReason(
     Rework rework,
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.ValidateReworkReason(rework, (Rework_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus ProcessComputation(
     Rework rework,
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.ProcessComputation(rework, (Rework_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus LoadESigDetails(
     Rework rework,
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.LoadESigDetails(rework, (Rework_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetEnvironment(
     Rework cdo,
     Rework_Request request,
     out Rework_Result result)
 {
     result = (Rework_Result)null;
     try
     {
         return(((IReworkService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
 public ResultStatus CommitTransaction(
     Rework_Request request,
     out Rework_Result result)
 {
     result = (Rework_Result)null;
     try
     {
         ReworkMethod[] methods = new ReworkMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IReworkService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #8
0
        public ResultStatus ExecuteTransaction(
            Rework cdo,
            Rework_Request request,
            out Rework_Result result)
        {
            result = (Rework_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IReworkService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ReworkMethod(cdo, ReworkMethods.ExecuteTransaction, (Rework_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);
        }
Пример #9
0
        public ResultStatus GetActions(
            Rework rework,
            Rework_Parameters parameters,
            Rework_Request request,
            out Rework_Result result)
        {
            result = (Rework_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)rework, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IReworkService)this._Channel).GetActions(this._UserProfile, rework, parameters, request, out result) : this.AddMethod((Method) new ReworkMethod(rework, ReworkMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)rework, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #10
0
 public ResultStatus ExecuteTransaction(
     Rework_Request request,
     out Rework_Result result)
 {
     return(this.ExecuteTransaction((Rework)null, request, out result));
 }
Пример #11
0
 public ResultStatus GetEnvironment(Rework_Request request, out Rework_Result result)
 {
     return(this.GetEnvironment((Rework)null, request, out result));
 }