Example #1
0
 public MoveNonStdMethod(
     MoveNonStd Cdo,
     MoveNonStdMethods Method,
     MoveNonStd_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Example #2
0
        public ResultStatus GetActions(
            MoveNonStd moveNonStd,
            MoveNonStd_Parameters parameters,
            MoveNonStd_Request request,
            out MoveNonStd_Result result)
        {
            result = (MoveNonStd_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)moveNonStd, (Parameters)parameters, (Request)request);
            ResultStatus res;

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