コード例 #1
0
        public ResultStatus ResolveParametricData(
            ActivateChangePkg activateChangePkg,
            ActivateChangePkg_Parameters parameters,
            ActivateChangePkg_Request request,
            out ActivateChangePkg_Result result)
        {
            result = (ActivateChangePkg_Result)null;
            this.OnBeforeCall(nameof(ResolveParametricData), (DCObject)activateChangePkg, (Parameters)parameters, (Request)request);
            ResultStatus res;

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