Пример #1
0
 public ResultStatus CreateParametricData(
     ComponentIssueR2 componentIssueR2,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.CreateParametricData(componentIssueR2, (ComponentIssueR2_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetActions(
     ComponentIssueR2 componentIssueR2,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.GetActions(componentIssueR2, (ComponentIssueR2_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus SetMaterialListItemSettings(
     ComponentIssueR2 componentIssueR2,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.SetMaterialListItemSettings(componentIssueR2, (ComponentIssueR2_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus ProcessComputation(
     ComponentIssueR2 componentIssueR2,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.ProcessComputation(componentIssueR2, (ComponentIssueR2_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus LoadESigDetails(
     ComponentIssueR2 componentIssueR2,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.LoadESigDetails(componentIssueR2, (ComponentIssueR2_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetEnvironment(
     ComponentIssueR2 cdo,
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     result = (ComponentIssueR2_Result)null;
     try
     {
         return(((IComponentIssueR2Service)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
 public ResultStatus CommitTransaction(
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     result = (ComponentIssueR2_Result)null;
     try
     {
         ComponentIssueR2Method[] methods = new ComponentIssueR2Method[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IComponentIssueR2Service)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #8
0
        public ResultStatus ExecuteTransaction(
            ComponentIssueR2 cdo,
            ComponentIssueR2_Request request,
            out ComponentIssueR2_Result result)
        {
            result = (ComponentIssueR2_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentIssueR2Service)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComponentIssueR2Method(cdo, ComponentIssueR2Methods.ExecuteTransaction, (ComponentIssueR2_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 SetMaterialListItemSettings(
            ComponentIssueR2 componentIssueR2,
            ComponentIssueR2_Parameters parameters,
            ComponentIssueR2_Request request,
            out ComponentIssueR2_Result result)
        {
            result = (ComponentIssueR2_Result)null;
            this.OnBeforeCall(nameof(SetMaterialListItemSettings), (DCObject)componentIssueR2, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentIssueR2Service)this._Channel).SetMaterialListItemSettings(this._UserProfile, componentIssueR2, parameters, request, out result) : this.AddMethod((Method) new ComponentIssueR2Method(componentIssueR2, ComponentIssueR2Methods.SetMaterialListItemSettings, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(SetMaterialListItemSettings), res, (DCObject)componentIssueR2, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #10
0
 public ResultStatus ExecuteTransaction(
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.ExecuteTransaction((ComponentIssueR2)null, request, out result));
 }
Пример #11
0
 public ResultStatus GetEnvironment(
     ComponentIssueR2_Request request,
     out ComponentIssueR2_Result result)
 {
     return(this.GetEnvironment((ComponentIssueR2)null, request, out result));
 }