示例#1
0
 public ResultStatus GetActions(
     EmptyCarrier emptyCarrier,
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.GetActions(emptyCarrier, (EmptyCarrier_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus CreateParametricData(
     EmptyCarrier emptyCarrier,
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.CreateParametricData(emptyCarrier, (EmptyCarrier_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus ProcessComputation(
     EmptyCarrier emptyCarrier,
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.ProcessComputation(emptyCarrier, (EmptyCarrier_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus LoadESigDetails(
     EmptyCarrier emptyCarrier,
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.LoadESigDetails(emptyCarrier, (EmptyCarrier_LoadESigDetails_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetEnvironment(
     EmptyCarrier cdo,
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     result = (EmptyCarrier_Result)null;
     try
     {
         return(((IEmptyCarrierService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
 public ResultStatus CommitTransaction(
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     result = (EmptyCarrier_Result)null;
     try
     {
         EmptyCarrierMethod[] methods = new EmptyCarrierMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IEmptyCarrierService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
        public ResultStatus ExecuteTransaction(
            EmptyCarrier cdo,
            EmptyCarrier_Request request,
            out EmptyCarrier_Result result)
        {
            result = (EmptyCarrier_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEmptyCarrierService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new EmptyCarrierMethod(cdo, EmptyCarrierMethods.ExecuteTransaction, (EmptyCarrier_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);
        }
示例#8
0
        public ResultStatus GetActions(
            EmptyCarrier emptyCarrier,
            EmptyCarrier_Parameters parameters,
            EmptyCarrier_Request request,
            out EmptyCarrier_Result result)
        {
            result = (EmptyCarrier_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)emptyCarrier, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEmptyCarrierService)this._Channel).GetActions(this._UserProfile, emptyCarrier, parameters, request, out result) : this.AddMethod((Method) new EmptyCarrierMethod(emptyCarrier, EmptyCarrierMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)emptyCarrier, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.ExecuteTransaction((EmptyCarrier)null, request, out result));
 }
示例#10
0
 public ResultStatus GetEnvironment(
     EmptyCarrier_Request request,
     out EmptyCarrier_Result result)
 {
     return(this.GetEnvironment((EmptyCarrier)null, request, out result));
 }