示例#1
0
 public ResultStatus CheckIfPreReqPkgsActivated(
     ActivateChangePkg activateChangePkg,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.CheckIfPreReqPkgsActivated(activateChangePkg, (ActivateChangePkg_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus CreateParametricData(
     ActivateChangePkg activateChangePkg,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.CreateParametricData(activateChangePkg, (ActivateChangePkg_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus ProcessComputation(
     ActivateChangePkg activateChangePkg,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.ProcessComputation(activateChangePkg, (ActivateChangePkg_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus LoadESigDetails(
     ActivateChangePkg activateChangePkg,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.LoadESigDetails(activateChangePkg, (ActivateChangePkg_LoadESigDetails_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetWIPMsgs(
     ActivateChangePkg activateChangePkg,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.GetWIPMsgs(activateChangePkg, (ActivateChangePkg_Parameters)null, request, out result));
 }
示例#6
0
 public ResultStatus GetEnvironment(
     ActivateChangePkg cdo,
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     result = (ActivateChangePkg_Result)null;
     try
     {
         return(((IActivateChangePkgService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
 public ResultStatus CommitTransaction(
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     result = (ActivateChangePkg_Result)null;
     try
     {
         ActivateChangePkgMethod[] methods = new ActivateChangePkgMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IActivateChangePkgService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#8
0
        public ResultStatus ExecuteTransaction(
            ActivateChangePkg cdo,
            ActivateChangePkg_Request request,
            out ActivateChangePkg_Result result)
        {
            result = (ActivateChangePkg_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IActivateChangePkgService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ActivateChangePkgMethod(cdo, ActivateChangePkgMethods.ExecuteTransaction, (ActivateChangePkg_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);
        }
示例#9
0
        public ResultStatus CreateParametricData(
            ActivateChangePkg activateChangePkg,
            ActivateChangePkg_Parameters parameters,
            ActivateChangePkg_Request request,
            out ActivateChangePkg_Result result)
        {
            result = (ActivateChangePkg_Result)null;
            this.OnBeforeCall(nameof(CreateParametricData), (DCObject)activateChangePkg, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IActivateChangePkgService)this._Channel).CreateParametricData(this._UserProfile, activateChangePkg, parameters, request, out result) : this.AddMethod((Method) new ActivateChangePkgMethod(activateChangePkg, ActivateChangePkgMethods.CreateParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CreateParametricData), res, (DCObject)activateChangePkg, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#10
0
 public ResultStatus ExecuteTransaction(
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.ExecuteTransaction((ActivateChangePkg)null, request, out result));
 }
示例#11
0
 public ResultStatus GetEnvironment(
     ActivateChangePkg_Request request,
     out ActivateChangePkg_Result result)
 {
     return(this.GetEnvironment((ActivateChangePkg)null, request, out result));
 }