public ChangeCategoryMethod( ChangeCategory Cdo, ChangeCategoryMethods Method, ChangeCategory_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( ChangeCategory changeCategory, ChangeCategory_Parameters parameters, ChangeCategory_Request request, out ChangeCategory_Result result) { result = (ChangeCategory_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)changeCategory, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IChangeCategoryService)this._Channel).GetActions(this._UserProfile, changeCategory, parameters, request, out result) : this.AddMethod((Method) new ChangeCategoryMethod(changeCategory, ChangeCategoryMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)changeCategory, (Parameters)parameters, (Request)request, (Result)result); } return(res); }