Ejemplo n.º 1
0
 public ResultStatus GetWIPMsgs(
     ActivationInquiry activationInquiry,
     ActivationInquiry_Request request,
     out ActivationInquiry_Result result)
 {
     return(this.GetWIPMsgs(activationInquiry, (ActivationInquiry_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ActivationInquiryMethod(
     ActivationInquiry Cdo,
     ActivationInquiryMethods Method,
     ActivationInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 3
0
 public ResultStatus GetEnvironment(
     ActivationInquiry cdo,
     ActivationInquiry_Request request,
     out ActivationInquiry_Result result)
 {
     result = (ActivationInquiry_Result)null;
     try
     {
         return(((IActivationInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 4
0
        public ResultStatus AddDataTransaction(ActivationInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ActivationInquiryMethod(cdo, ActivationInquiryMethods.AddDataTransaction, (ActivationInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Ejemplo n.º 5
0
        public ResultStatus ExecuteTransaction(
            ActivationInquiry cdo,
            ActivationInquiry_Request request,
            out ActivationInquiry_Result result)
        {
            result = (ActivationInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IActivationInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ActivationInquiryMethod(cdo, ActivationInquiryMethods.ExecuteTransaction, (ActivationInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 6
0
        public ResultStatus GetWIPMsgs(
            ActivationInquiry activationInquiry,
            ActivationInquiry_Parameters parameters,
            ActivationInquiry_Request request,
            out ActivationInquiry_Result result)
        {
            result = (ActivationInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)activationInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IActivationInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, activationInquiry, parameters, request, out result) : this.AddMethod((Method) new ActivationInquiryMethod(activationInquiry, ActivationInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)activationInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 7
0
 public ResultStatus GetPackages(ActivationInquiry activationInquiry)
 {
     return(this.GetPackages(activationInquiry, (ActivationInquiry_Parameters)null, (ActivationInquiry_Request)null, out ActivationInquiry_Result _));
 }
Ejemplo n.º 8
0
 public ResultStatus ExecuteTransaction(ActivationInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (ActivationInquiry_Request)null, out ActivationInquiry_Result _));
 }