Exemplo n.º 1
0
 public ResultStatus GetActions(
     ResourceTxn resourceTxn,
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.GetActions(resourceTxn, (ResourceTxn_Parameters)null, request, out result));
 }
Exemplo n.º 2
0
 public ResultStatus CreateParametricData(
     ResourceTxn resourceTxn,
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.CreateParametricData(resourceTxn, (ResourceTxn_Parameters)null, request, out result));
 }
Exemplo n.º 3
0
 public ResultStatus ProcessComputation(
     ResourceTxn resourceTxn,
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.ProcessComputation(resourceTxn, (ResourceTxn_Parameters)null, request, out result));
 }
Exemplo n.º 4
0
 public ResultStatus LoadESigDetails(
     ResourceTxn resourceTxn,
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.LoadESigDetails(resourceTxn, (ResourceTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Exemplo n.º 5
0
 public ResultStatus GetEnvironment(
     ResourceTxn cdo,
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     result = (ResourceTxn_Result)null;
     try
     {
         return(((IResourceTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 6
0
 public ResultStatus CommitTransaction(
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     result = (ResourceTxn_Result)null;
     try
     {
         ResourceTxnMethod[] methods = new ResourceTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 7
0
        public ResultStatus ExecuteTransaction(
            ResourceTxn cdo,
            ResourceTxn_Request request,
            out ResourceTxn_Result result)
        {
            result = (ResourceTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceTxnMethod(cdo, ResourceTxnMethods.ExecuteTransaction, (ResourceTxn_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);
        }
Exemplo n.º 8
0
        public ResultStatus GetActions(
            ResourceTxn resourceTxn,
            ResourceTxn_Parameters parameters,
            ResourceTxn_Request request,
            out ResourceTxn_Result result)
        {
            result = (ResourceTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)resourceTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceTxnService)this._Channel).GetActions(this._UserProfile, resourceTxn, parameters, request, out result) : this.AddMethod((Method) new ResourceTxnMethod(resourceTxn, ResourceTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)resourceTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemplo n.º 9
0
 public ResultStatus ExecuteTransaction(
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.ExecuteTransaction((ResourceTxn)null, request, out result));
 }
Exemplo n.º 10
0
 public ResultStatus GetEnvironment(
     ResourceTxn_Request request,
     out ResourceTxn_Result result)
 {
     return(this.GetEnvironment((ResourceTxn)null, request, out result));
 }