Exemple #1
0
 public ReorderProcessObjectMethod(
     ReorderProcessObject Cdo,
     ReorderProcessObjectMethods Method,
     ReorderProcessObject_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Exemple #2
0
        public ResultStatus GetActions(
            ReorderProcessObject reorderProcessObject,
            ReorderProcessObject_Parameters parameters,
            ReorderProcessObject_Request request,
            out ReorderProcessObject_Result result)
        {
            result = (ReorderProcessObject_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)reorderProcessObject, (Parameters)parameters, (Request)request);
            ResultStatus res;

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