コード例 #1
0
 public NCREscalateMethod(
     NCREscalate Cdo,
     NCREscalateMethods Method,
     NCREscalate_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
コード例 #2
0
        public ResultStatus GetActions(
            NCREscalate nCREscalate,
            NCREscalate_Parameters parameters,
            NCREscalate_Request request,
            out NCREscalate_Result result)
        {
            result = (NCREscalate_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)nCREscalate, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INCREscalateService)this._Channel).GetActions(this._UserProfile, nCREscalate, parameters, request, out result) : this.AddMethod((Method) new NCREscalateMethod(nCREscalate, NCREscalateMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)nCREscalate, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }