Example #1
0
 public ResultStatus CreateParametricData(
     ExecuteTask executeTask,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.CreateParametricData(executeTask, (ExecuteTask_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus GetActions(
     ExecuteTask executeTask,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.GetActions(executeTask, (ExecuteTask_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus ValidateTaskTimers(
     ExecuteTask executeTask,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.ValidateTaskTimers(executeTask, (ExecuteTask_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus ProcessComputation(
     ExecuteTask executeTask,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.ProcessComputation(executeTask, (ExecuteTask_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus LoadESigDetails(
     ExecuteTask executeTask,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.LoadESigDetails(executeTask, (ExecuteTask_LoadESigDetails_Parameters)null, request, out result));
 }
Example #6
0
 public ResultStatus GetEnvironment(
     ExecuteTask cdo,
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     result = (ExecuteTask_Result)null;
     try
     {
         return(((IExecuteTaskService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #7
0
 public ResultStatus CommitTransaction(
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     result = (ExecuteTask_Result)null;
     try
     {
         ExecuteTaskMethod[] methods = new ExecuteTaskMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IExecuteTaskService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #8
0
        public ResultStatus ExecuteTransaction(
            ExecuteTask cdo,
            ExecuteTask_Request request,
            out ExecuteTask_Result result)
        {
            result = (ExecuteTask_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExecuteTaskService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ExecuteTaskMethod(cdo, ExecuteTaskMethods.ExecuteTransaction, (ExecuteTask_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);
        }
Example #9
0
        public ResultStatus GetActions(
            ExecuteTask executeTask,
            ExecuteTask_Parameters parameters,
            ExecuteTask_Request request,
            out ExecuteTask_Result result)
        {
            result = (ExecuteTask_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)executeTask, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExecuteTaskService)this._Channel).GetActions(this._UserProfile, executeTask, parameters, request, out result) : this.AddMethod((Method) new ExecuteTaskMethod(executeTask, ExecuteTaskMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)executeTask, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #10
0
 public ResultStatus ExecuteTransaction(
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.ExecuteTransaction((ExecuteTask)null, request, out result));
 }
Example #11
0
 public ResultStatus GetEnvironment(
     ExecuteTask_Request request,
     out ExecuteTask_Result result)
 {
     return(this.GetEnvironment((ExecuteTask)null, request, out result));
 }