Exemple #1
0
 public ResultStatus GetActions(
     PrintLabelTxn printLabelTxn,
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.GetActions(printLabelTxn, (PrintLabelTxn_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus CreateParametricData(
     PrintLabelTxn printLabelTxn,
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.CreateParametricData(printLabelTxn, (PrintLabelTxn_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus ProcessComputation(
     PrintLabelTxn printLabelTxn,
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.ProcessComputation(printLabelTxn, (PrintLabelTxn_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus LoadESigDetails(
     PrintLabelTxn printLabelTxn,
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.LoadESigDetails(printLabelTxn, (PrintLabelTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus GetEnvironment(
     PrintLabelTxn cdo,
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     result = (PrintLabelTxn_Result)null;
     try
     {
         return(((IPrintLabelTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
 public ResultStatus CommitTransaction(
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     result = (PrintLabelTxn_Result)null;
     try
     {
         PrintLabelTxnMethod[] methods = new PrintLabelTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPrintLabelTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #7
0
        public ResultStatus ExecuteTransaction(
            PrintLabelTxn cdo,
            PrintLabelTxn_Request request,
            out PrintLabelTxn_Result result)
        {
            result = (PrintLabelTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPrintLabelTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PrintLabelTxnMethod(cdo, PrintLabelTxnMethods.ExecuteTransaction, (PrintLabelTxn_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(
            PrintLabelTxn printLabelTxn,
            PrintLabelTxn_Parameters parameters,
            PrintLabelTxn_Request request,
            out PrintLabelTxn_Result result)
        {
            result = (PrintLabelTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)printLabelTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPrintLabelTxnService)this._Channel).GetActions(this._UserProfile, printLabelTxn, parameters, request, out result) : this.AddMethod((Method) new PrintLabelTxnMethod(printLabelTxn, PrintLabelTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)printLabelTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #9
0
 public ResultStatus ExecuteTransaction(
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.ExecuteTransaction((PrintLabelTxn)null, request, out result));
 }
Exemple #10
0
 public ResultStatus GetEnvironment(
     PrintLabelTxn_Request request,
     out PrintLabelTxn_Result result)
 {
     return(this.GetEnvironment((PrintLabelTxn)null, request, out result));
 }