Esempio n. 1
0
 public ResultStatus Freeze(
     UserCodeMaint userCodeMaint,
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.Freeze(userCodeMaint, (UserCodeMaint_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus NewCopy(
     UserCodeMaint userCodeMaint,
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.NewCopy(userCodeMaint, (UserCodeMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus LoadESigDetails(
     UserCodeMaint userCodeMaint,
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.LoadESigDetails(userCodeMaint, (UserCodeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus GetWIPMsgs(
     UserCodeMaint userCodeMaint,
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.GetWIPMsgs(userCodeMaint, (UserCodeMaint_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus GetEnvironment(
     UserCodeMaint cdo,
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     result = (UserCodeMaint_Result)null;
     try
     {
         return(((IUserCodeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
 public ResultStatus CommitTransaction(
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     result = (UserCodeMaint_Result)null;
     try
     {
         UserCodeMaintMethod[] methods = new UserCodeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUserCodeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 7
0
        public ResultStatus ExecuteTransaction(
            UserCodeMaint cdo,
            UserCodeMaint_Request request,
            out UserCodeMaint_Result result)
        {
            result = (UserCodeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UserCodeMaintMethod(cdo, UserCodeMaintMethods.ExecuteTransaction, (UserCodeMaint_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);
        }
Esempio n. 8
0
        public ResultStatus Freeze(
            UserCodeMaint userCodeMaint,
            UserCodeMaint_Parameters parameters,
            UserCodeMaint_Request request,
            out UserCodeMaint_Result result)
        {
            result = (UserCodeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)userCodeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeMaintService)this._Channel).Freeze(this._UserProfile, userCodeMaint, parameters, request, out result) : this.AddMethod((Method) new UserCodeMaintMethod(userCodeMaint, UserCodeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)userCodeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 9
0
 public ResultStatus ExecuteTransaction(
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.ExecuteTransaction((UserCodeMaint)null, request, out result));
 }
Esempio n. 10
0
 public ResultStatus GetEnvironment(
     UserCodeMaint_Request request,
     out UserCodeMaint_Result result)
 {
     return(this.GetEnvironment((UserCodeMaint)null, request, out result));
 }