Beispiel #1
0
 public ResultStatus LoadESigDetails(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.LoadESigDetails(userCodeWithWMMaint, (UserCodeWithWMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.Freeze(userCodeWithWMMaint, (UserCodeWithWMMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.GetWIPMsgs(userCodeWithWMMaint, (UserCodeWithWMMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     UserCodeWithWMMaint cdo,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     result = (UserCodeWithWMMaint_Result)null;
     try
     {
         return(((IUserCodeWithWMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     result = (UserCodeWithWMMaint_Result)null;
     try
     {
         UserCodeWithWMMaintMethod[] methods = new UserCodeWithWMMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUserCodeWithWMMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            UserCodeWithWMMaint cdo,
            UserCodeWithWMMaint_Request request,
            out UserCodeWithWMMaint_Result result)
        {
            result = (UserCodeWithWMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeWithWMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UserCodeWithWMMaintMethod(cdo, UserCodeWithWMMaintMethods.ExecuteTransaction, (UserCodeWithWMMaint_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);
        }
Beispiel #7
0
        public ResultStatus Freeze(
            UserCodeWithWMMaint userCodeWithWMMaint,
            UserCodeWithWMMaint_Parameters parameters,
            UserCodeWithWMMaint_Request request,
            out UserCodeWithWMMaint_Result result)
        {
            result = (UserCodeWithWMMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)userCodeWithWMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeWithWMMaintService)this._Channel).Freeze(this._UserProfile, userCodeWithWMMaint, parameters, request, out result) : this.AddMethod((Method) new UserCodeWithWMMaintMethod(userCodeWithWMMaint, UserCodeWithWMMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)userCodeWithWMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.ExecuteTransaction((UserCodeWithWMMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.GetEnvironment((UserCodeWithWMMaint)null, request, out result));
 }