Exemple #1
0
 public ResultStatus GetActions(
     Ship ship,
     Ship_Request request,
     out Ship_Result result)
 {
     return(this.GetActions(ship, (Ship_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus CreateParametricData(
     Ship ship,
     Ship_Request request,
     out Ship_Result result)
 {
     return(this.CreateParametricData(ship, (Ship_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus ProcessComputation(
     Ship ship,
     Ship_Request request,
     out Ship_Result result)
 {
     return(this.ProcessComputation(ship, (Ship_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus LoadESigDetails(
     Ship ship,
     Ship_Request request,
     out Ship_Result result)
 {
     return(this.LoadESigDetails(ship, (Ship_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus CommitTransaction(Ship_Request request, out Ship_Result result)
 {
     result = (Ship_Result)null;
     try
     {
         ShipMethod[] methods = new ShipMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IShipService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
 public ResultStatus GetEnvironment(
     Ship cdo,
     Ship_Request request,
     out Ship_Result result)
 {
     result = (Ship_Result)null;
     try
     {
         return(((IShipService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #7
0
        public ResultStatus ExecuteTransaction(
            Ship cdo,
            Ship_Request request,
            out Ship_Result result)
        {
            result = (Ship_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShipService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ShipMethod(cdo, ShipMethods.ExecuteTransaction, (Ship_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 GetActions(
            Ship ship,
            Ship_Parameters parameters,
            Ship_Request request,
            out Ship_Result result)
        {
            result = (Ship_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)ship, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShipService)this._Channel).GetActions(this._UserProfile, ship, parameters, request, out result) : this.AddMethod((Method) new ShipMethod(ship, ShipMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)ship, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #9
0
 public ResultStatus ExecuteTransaction(Ship_Request request, out Ship_Result result)
 {
     return(this.ExecuteTransaction((Ship)null, request, out result));
 }
Exemple #10
0
 public ResultStatus GetEnvironment(Ship_Request request, out Ship_Result result)
 {
     return(this.GetEnvironment((Ship)null, request, out result));
 }