Ejemplo n.º 1
0
 public ResultStatus GetWIPMsgs(
     ViewContainerStatus viewContainerStatus,
     ViewContainerStatus_Request request,
     out ViewContainerStatus_Result result)
 {
     return(this.GetWIPMsgs(viewContainerStatus, (ViewContainerStatus_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus GetEnvironment(
     ViewContainerStatus cdo,
     ViewContainerStatus_Request request,
     out ViewContainerStatus_Result result)
 {
     result = (ViewContainerStatus_Result)null;
     try
     {
         return(((IViewContainerStatusService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 3
0
 public ResultStatus CommitTransaction(
     ViewContainerStatus_Request request,
     out ViewContainerStatus_Result result)
 {
     result = (ViewContainerStatus_Result)null;
     try
     {
         ViewContainerStatusMethod[] methods = new ViewContainerStatusMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IViewContainerStatusService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 4
0
        public ResultStatus ExecuteTransaction(
            ViewContainerStatus cdo,
            ViewContainerStatus_Request request,
            out ViewContainerStatus_Result result)
        {
            result = (ViewContainerStatus_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IViewContainerStatusService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ViewContainerStatusMethod(cdo, ViewContainerStatusMethods.ExecuteTransaction, (ViewContainerStatus_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.º 5
0
        public ResultStatus GetWIPMsgs(
            ViewContainerStatus viewContainerStatus,
            ViewContainerStatus_Parameters parameters,
            ViewContainerStatus_Request request,
            out ViewContainerStatus_Result result)
        {
            result = (ViewContainerStatus_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)viewContainerStatus, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IViewContainerStatusService)this._Channel).GetWIPMsgs(this._UserProfile, viewContainerStatus, parameters, request, out result) : this.AddMethod((Method) new ViewContainerStatusMethod(viewContainerStatus, ViewContainerStatusMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)viewContainerStatus, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 6
0
 public ResultStatus ExecuteTransaction(
     ViewContainerStatus_Request request,
     out ViewContainerStatus_Result result)
 {
     return(this.ExecuteTransaction((ViewContainerStatus)null, request, out result));
 }
Ejemplo n.º 7
0
 public ResultStatus GetEnvironment(
     ViewContainerStatus_Request request,
     out ViewContainerStatus_Result result)
 {
     return(this.GetEnvironment((ViewContainerStatus)null, request, out result));
 }