Exemple #1
0
 public ResultStatus GetActions(
     ComponentDefect componentDefect,
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.GetActions(componentDefect, (ComponentDefect_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus CreateParametricData(
     ComponentDefect componentDefect,
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.CreateParametricData(componentDefect, (ComponentDefect_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus ProcessComputation(
     ComponentDefect componentDefect,
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.ProcessComputation(componentDefect, (ComponentDefect_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus LoadESigDetails(
     ComponentDefect componentDefect,
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.LoadESigDetails(componentDefect, (ComponentDefect_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus GetEnvironment(
     ComponentDefect cdo,
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     result = (ComponentDefect_Result)null;
     try
     {
         return(((IComponentDefectService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
 public ResultStatus CommitTransaction(
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     result = (ComponentDefect_Result)null;
     try
     {
         ComponentDefectMethod[] methods = new ComponentDefectMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IComponentDefectService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #7
0
        public ResultStatus ExecuteTransaction(
            ComponentDefect cdo,
            ComponentDefect_Request request,
            out ComponentDefect_Result result)
        {
            result = (ComponentDefect_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentDefectService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComponentDefectMethod(cdo, ComponentDefectMethods.ExecuteTransaction, (ComponentDefect_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);
        }
Exemple #8
0
        public ResultStatus ResolveParametricData(
            ComponentDefect componentDefect,
            ComponentDefect_Parameters parameters,
            ComponentDefect_Request request,
            out ComponentDefect_Result result)
        {
            result = (ComponentDefect_Result)null;
            this.OnBeforeCall(nameof(ResolveParametricData), (DCObject)componentDefect, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentDefectService)this._Channel).ResolveParametricData(this._UserProfile, componentDefect, parameters, request, out result) : this.AddMethod((Method) new ComponentDefectMethod(componentDefect, ComponentDefectMethods.ResolveParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ResolveParametricData), res, (DCObject)componentDefect, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #9
0
 public ResultStatus ExecuteTransaction(
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.ExecuteTransaction((ComponentDefect)null, request, out result));
 }
Exemple #10
0
 public ResultStatus GetEnvironment(
     ComponentDefect_Request request,
     out ComponentDefect_Result result)
 {
     return(this.GetEnvironment((ComponentDefect)null, request, out result));
 }