Beispiel #1
0
 public ResultStatus CreateParametricData(
     ChangeStatusTxn changeStatusTxn,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.CreateParametricData(changeStatusTxn, (ChangeStatusTxn_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus GetActions(
     ChangeStatusTxn changeStatusTxn,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.GetActions(changeStatusTxn, (ChangeStatusTxn_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus ProcessModelingLocks(
     ChangeStatusTxn changeStatusTxn,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.ProcessModelingLocks(changeStatusTxn, (ChangeStatusTxn_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus ProcessComputation(
     ChangeStatusTxn changeStatusTxn,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.ProcessComputation(changeStatusTxn, (ChangeStatusTxn_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus LoadESigDetails(
     ChangeStatusTxn changeStatusTxn,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.LoadESigDetails(changeStatusTxn, (ChangeStatusTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #6
0
 public ResultStatus GetEnvironment(
     ChangeStatusTxn cdo,
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     result = (ChangeStatusTxn_Result)null;
     try
     {
         return(((IChangeStatusTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #7
0
 public ResultStatus CommitTransaction(
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     result = (ChangeStatusTxn_Result)null;
     try
     {
         ChangeStatusTxnMethod[] methods = new ChangeStatusTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IChangeStatusTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #8
0
        public ResultStatus ExecuteTransaction(
            ChangeStatusTxn cdo,
            ChangeStatusTxn_Request request,
            out ChangeStatusTxn_Result result)
        {
            result = (ChangeStatusTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeStatusTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ChangeStatusTxnMethod(cdo, ChangeStatusTxnMethods.ExecuteTransaction, (ChangeStatusTxn_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);
        }
Beispiel #9
0
        public ResultStatus ResolveParametricData(
            ChangeStatusTxn changeStatusTxn,
            ChangeStatusTxn_Parameters parameters,
            ChangeStatusTxn_Request request,
            out ChangeStatusTxn_Result result)
        {
            result = (ChangeStatusTxn_Result)null;
            this.OnBeforeCall(nameof(ResolveParametricData), (DCObject)changeStatusTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeStatusTxnService)this._Channel).ResolveParametricData(this._UserProfile, changeStatusTxn, parameters, request, out result) : this.AddMethod((Method) new ChangeStatusTxnMethod(changeStatusTxn, ChangeStatusTxnMethods.ResolveParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ResolveParametricData), res, (DCObject)changeStatusTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #10
0
 public ResultStatus ExecuteTransaction(
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.ExecuteTransaction((ChangeStatusTxn)null, request, out result));
 }
Beispiel #11
0
 public ResultStatus GetEnvironment(
     ChangeStatusTxn_Request request,
     out ChangeStatusTxn_Result result)
 {
     return(this.GetEnvironment((ChangeStatusTxn)null, request, out result));
 }