Пример #1
0
 public DelegateDateInquiryMethod(
     DelegateDateInquiry Cdo,
     DelegateDateInquiryMethods Method,
     DelegateDateInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Пример #2
0
        public ResultStatus GetWIPMsgs(
            DelegateDateInquiry delegateDateInquiry,
            DelegateDateInquiry_Parameters parameters,
            DelegateDateInquiry_Request request,
            out DelegateDateInquiry_Result result)
        {
            result = (DelegateDateInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)delegateDateInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDelegateDateInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, delegateDateInquiry, parameters, request, out result) : this.AddMethod((Method) new DelegateDateInquiryMethod(delegateDateInquiry, DelegateDateInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)delegateDateInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }