Example #1
0
 public ComponentIssueR2Method(
     ComponentIssueR2 Cdo,
     ComponentIssueR2Methods Method,
     ComponentIssueR2_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Example #2
0
        public ResultStatus GetActions(
            ComponentIssueR2 componentIssueR2,
            ComponentIssueR2_Parameters parameters,
            ComponentIssueR2_Request request,
            out ComponentIssueR2_Result result)
        {
            result = (ComponentIssueR2_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)componentIssueR2, (Parameters)parameters, (Request)request);
            ResultStatus res;

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