Exemplo n.º 1
0
 public ResultStatus GetActions(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.GetActions(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
Exemplo n.º 2
0
 public ResultStatus CreateParametricData(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.CreateParametricData(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
Exemplo n.º 3
0
 public ResultStatus ProcessComputation(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.ProcessComputation(resourceThruput, (ResourceThruput_Parameters)null, request, out result));
 }
Exemplo n.º 4
0
 public ResultStatus LoadESigDetails(
     ResourceThruput resourceThruput,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.LoadESigDetails(resourceThruput, (ResourceThruput_LoadESigDetails_Parameters)null, request, out result));
 }
Exemplo n.º 5
0
 public ResultStatus GetEnvironment(
     ResourceThruput cdo,
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     result = (ResourceThruput_Result)null;
     try
     {
         return(((IResourceThruputService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 6
0
 public ResultStatus CommitTransaction(
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     result = (ResourceThruput_Result)null;
     try
     {
         ResourceThruputMethod[] methods = new ResourceThruputMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceThruputService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 7
0
        public ResultStatus ExecuteTransaction(
            ResourceThruput cdo,
            ResourceThruput_Request request,
            out ResourceThruput_Result result)
        {
            result = (ResourceThruput_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceThruputService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceThruputMethod(cdo, ResourceThruputMethods.ExecuteTransaction, (ResourceThruput_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(
            ResourceThruput resourceThruput,
            ResourceThruput_Parameters parameters,
            ResourceThruput_Request request,
            out ResourceThruput_Result result)
        {
            result = (ResourceThruput_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)resourceThruput, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceThruputService)this._Channel).GetActions(this._UserProfile, resourceThruput, parameters, request, out result) : this.AddMethod((Method) new ResourceThruputMethod(resourceThruput, ResourceThruputMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)resourceThruput, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemplo n.º 9
0
 public ResultStatus ExecuteTransaction(
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.ExecuteTransaction((ResourceThruput)null, request, out result));
 }
Exemplo n.º 10
0
 public ResultStatus GetEnvironment(
     ResourceThruput_Request request,
     out ResourceThruput_Result result)
 {
     return(this.GetEnvironment((ResourceThruput)null, request, out result));
 }