Beispiel #1
0
 public MoveNonStdsMethod(
     MoveNonStds Cdo,
     MoveNonStdsMethods Method,
     MoveNonStds_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Beispiel #2
0
        public ResultStatus GetActions(
            MoveNonStds moveNonStds,
            MoveNonStds_Parameters parameters,
            MoveNonStds_Request request,
            out MoveNonStds_Result result)
        {
            result = (MoveNonStds_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)moveNonStds, (Parameters)parameters, (Request)request);
            ResultStatus res;

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