コード例 #1
0
 public UIProviderComponentInquiryMethod(
     UIProviderComponentInquiry Cdo,
     UIProviderComponentInquiryMethods Method,
     UIProviderComponentInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
コード例 #2
0
        public ResultStatus GetPersonalizationContentByOwner(
            UIProviderComponentInquiry uIProviderComponentInquiry,
            UIProviderComponentInquiry_Parameters parameters,
            UIProviderComponentInquiry_Request request,
            out UIProviderComponentInquiry_Result result)
        {
            result = (UIProviderComponentInquiry_Result)null;
            this.OnBeforeCall(nameof(GetPersonalizationContentByOwner), (DCObject)uIProviderComponentInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUIProviderComponentInquiryService)this._Channel).GetPersonalizationContentByOwner(this._UserProfile, uIProviderComponentInquiry, parameters, request, out result) : this.AddMethod((Method) new UIProviderComponentInquiryMethod(uIProviderComponentInquiry, UIProviderComponentInquiryMethods.GetPersonalizationContentByOwner, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetPersonalizationContentByOwner), res, (DCObject)uIProviderComponentInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }