Esempio n. 1
0
 public ResultStatus GetActions(
     UnitStart unitStart,
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.GetActions(unitStart, (UnitStart_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus CreateParametricData(
     UnitStart unitStart,
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.CreateParametricData(unitStart, (UnitStart_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus ProcessComputation(
     UnitStart unitStart,
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.ProcessComputation(unitStart, (UnitStart_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus LoadESigDetails(
     UnitStart unitStart,
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.LoadESigDetails(unitStart, (UnitStart_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus GetEnvironment(
     UnitStart cdo,
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     result = (UnitStart_Result)null;
     try
     {
         return(((IUnitStartService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
 public ResultStatus CommitTransaction(
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     result = (UnitStart_Result)null;
     try
     {
         UnitStartMethod[] methods = new UnitStartMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUnitStartService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 7
0
        public ResultStatus ExecuteTransaction(
            UnitStart cdo,
            UnitStart_Request request,
            out UnitStart_Result result)
        {
            result = (UnitStart_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUnitStartService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UnitStartMethod(cdo, UnitStartMethods.ExecuteTransaction, (UnitStart_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);
        }
Esempio n. 8
0
        public ResultStatus GetActions(
            UnitStart unitStart,
            UnitStart_Parameters parameters,
            UnitStart_Request request,
            out UnitStart_Result result)
        {
            result = (UnitStart_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)unitStart, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUnitStartService)this._Channel).GetActions(this._UserProfile, unitStart, parameters, request, out result) : this.AddMethod((Method) new UnitStartMethod(unitStart, UnitStartMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)unitStart, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 9
0
 public ResultStatus ExecuteTransaction(
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.ExecuteTransaction((UnitStart)null, request, out result));
 }
Esempio n. 10
0
 public ResultStatus GetEnvironment(
     UnitStart_Request request,
     out UnitStart_Result result)
 {
     return(this.GetEnvironment((UnitStart)null, request, out result));
 }