Пример #1
0
 public ResultStatus CreateParametricData(
     Defect defect,
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.CreateParametricData(defect, (Defect_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetActions(
     Defect defect,
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.GetActions(defect, (Defect_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus ProcessComputation(
     Defect defect,
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.ProcessComputation(defect, (Defect_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus LoadESigDetails(
     Defect defect,
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.LoadESigDetails(defect, (Defect_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus GetIssueActualsHistory(
     Defect defect,
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.GetIssueActualsHistory(defect, (Defect_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetEnvironment(
     Defect cdo,
     Defect_Request request,
     out Defect_Result result)
 {
     result = (Defect_Result)null;
     try
     {
         return(((IDefectService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
 public ResultStatus CommitTransaction(
     Defect_Request request,
     out Defect_Result result)
 {
     result = (Defect_Result)null;
     try
     {
         DefectMethod[] methods = new DefectMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDefectService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #8
0
        public ResultStatus ExecuteTransaction(
            Defect cdo,
            Defect_Request request,
            out Defect_Result result)
        {
            result = (Defect_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDefectService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DefectMethod(cdo, DefectMethods.ExecuteTransaction, (Defect_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(
            Defect defect,
            Defect_Parameters parameters,
            Defect_Request request,
            out Defect_Result result)
        {
            result = (Defect_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)defect, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDefectService)this._Channel).GetActions(this._UserProfile, defect, parameters, request, out result) : this.AddMethod((Method) new DefectMethod(defect, DefectMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)defect, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #10
0
 public ResultStatus ExecuteTransaction(
     Defect_Request request,
     out Defect_Result result)
 {
     return(this.ExecuteTransaction((Defect)null, request, out result));
 }
Пример #11
0
 public ResultStatus GetEnvironment(Defect_Request request, out Defect_Result result)
 {
     return(this.GetEnvironment((Defect)null, request, out result));
 }