Ejemplo n.º 1
0
 public ResultStatus CreateParametricData(
     ResourceSetup resourceSetup,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.CreateParametricData(resourceSetup, (ResourceSetup_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus GetActions(
     ResourceSetup resourceSetup,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.GetActions(resourceSetup, (ResourceSetup_Parameters)null, request, out result));
 }
Ejemplo n.º 3
0
 public ResultStatus SetLastStatusChangeDate(
     ResourceSetup resourceSetup,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.SetLastStatusChangeDate(resourceSetup, (ResourceSetup_Parameters)null, request, out result));
 }
Ejemplo n.º 4
0
 public ResultStatus ProcessComputation(
     ResourceSetup resourceSetup,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.ProcessComputation(resourceSetup, (ResourceSetup_Parameters)null, request, out result));
 }
Ejemplo n.º 5
0
 public ResultStatus LoadESigDetails(
     ResourceSetup resourceSetup,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.LoadESigDetails(resourceSetup, (ResourceSetup_LoadESigDetails_Parameters)null, request, out result));
 }
Ejemplo n.º 6
0
 public ResultStatus GetEnvironment(
     ResourceSetup cdo,
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     result = (ResourceSetup_Result)null;
     try
     {
         return(((IResourceSetupService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 7
0
 public ResultStatus CommitTransaction(
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     result = (ResourceSetup_Result)null;
     try
     {
         ResourceSetupMethod[] methods = new ResourceSetupMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceSetupService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 8
0
        public ResultStatus ExecuteTransaction(
            ResourceSetup cdo,
            ResourceSetup_Request request,
            out ResourceSetup_Result result)
        {
            result = (ResourceSetup_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceSetupService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceSetupMethod(cdo, ResourceSetupMethods.ExecuteTransaction, (ResourceSetup_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);
        }
Ejemplo n.º 9
0
        public ResultStatus GetActions(
            ResourceSetup resourceSetup,
            ResourceSetup_Parameters parameters,
            ResourceSetup_Request request,
            out ResourceSetup_Result result)
        {
            result = (ResourceSetup_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)resourceSetup, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceSetupService)this._Channel).GetActions(this._UserProfile, resourceSetup, parameters, request, out result) : this.AddMethod((Method) new ResourceSetupMethod(resourceSetup, ResourceSetupMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)resourceSetup, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 10
0
 public ResultStatus ExecuteTransaction(
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.ExecuteTransaction((ResourceSetup)null, request, out result));
 }
Ejemplo n.º 11
0
 public ResultStatus GetEnvironment(
     ResourceSetup_Request request,
     out ResourceSetup_Result result)
 {
     return(this.GetEnvironment((ResourceSetup)null, request, out result));
 }