コード例 #1
0
 public ResultStatus GetActions(
     Transfer transfer,
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.GetActions(transfer, (Transfer_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus CreateParametricData(
     Transfer transfer,
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.CreateParametricData(transfer, (Transfer_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus ProcessComputation(
     Transfer transfer,
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.ProcessComputation(transfer, (Transfer_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus LoadESigDetails(
     Transfer transfer,
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.LoadESigDetails(transfer, (Transfer_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #5
0
 public ResultStatus GetEnvironment(
     Transfer cdo,
     Transfer_Request request,
     out Transfer_Result result)
 {
     result = (Transfer_Result)null;
     try
     {
         return(((ITransferService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
 public ResultStatus CommitTransaction(
     Transfer_Request request,
     out Transfer_Result result)
 {
     result = (Transfer_Result)null;
     try
     {
         TransferMethod[] methods = new TransferMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ITransferService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #7
0
        public ResultStatus ExecuteTransaction(
            Transfer cdo,
            Transfer_Request request,
            out Transfer_Result result)
        {
            result = (Transfer_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITransferService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new TransferMethod(cdo, TransferMethods.ExecuteTransaction, (Transfer_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(
            Transfer transfer,
            Transfer_Parameters parameters,
            Transfer_Request request,
            out Transfer_Result result)
        {
            result = (Transfer_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)transfer, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITransferService)this._Channel).GetActions(this._UserProfile, transfer, parameters, request, out result) : this.AddMethod((Method) new TransferMethod(transfer, TransferMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)transfer, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #9
0
 public ResultStatus ExecuteTransaction(
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.ExecuteTransaction((Transfer)null, request, out result));
 }
コード例 #10
0
 public ResultStatus GetEnvironment(
     Transfer_Request request,
     out Transfer_Result result)
 {
     return(this.GetEnvironment((Transfer)null, request, out result));
 }