Пример #1
0
 public ResultStatus LoadESigDetails(
     DispatchRuleMaint dispatchRuleMaint,
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     return(this.LoadESigDetails(dispatchRuleMaint, (DispatchRuleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     DispatchRuleMaint dispatchRuleMaint,
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     return(this.Freeze(dispatchRuleMaint, (DispatchRuleMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     DispatchRuleMaint dispatchRuleMaint,
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     return(this.GetWIPMsgs(dispatchRuleMaint, (DispatchRuleMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     DispatchRuleMaint cdo,
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     result = (DispatchRuleMaint_Result)null;
     try
     {
         return(((IDispatchRuleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     result = (DispatchRuleMaint_Result)null;
     try
     {
         DispatchRuleMaintMethod[] methods = new DispatchRuleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDispatchRuleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            DispatchRuleMaint cdo,
            DispatchRuleMaint_Request request,
            out DispatchRuleMaint_Result result)
        {
            result = (DispatchRuleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDispatchRuleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DispatchRuleMaintMethod(cdo, DispatchRuleMaintMethods.ExecuteTransaction, (DispatchRuleMaint_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);
        }
Пример #7
0
        public ResultStatus Freeze(
            DispatchRuleMaint dispatchRuleMaint,
            DispatchRuleMaint_Parameters parameters,
            DispatchRuleMaint_Request request,
            out DispatchRuleMaint_Result result)
        {
            result = (DispatchRuleMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)dispatchRuleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDispatchRuleMaintService)this._Channel).Freeze(this._UserProfile, dispatchRuleMaint, parameters, request, out result) : this.AddMethod((Method) new DispatchRuleMaintMethod(dispatchRuleMaint, DispatchRuleMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)dispatchRuleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     return(this.ExecuteTransaction((DispatchRuleMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     DispatchRuleMaint_Request request,
     out DispatchRuleMaint_Result result)
 {
     return(this.GetEnvironment((DispatchRuleMaint)null, request, out result));
 }