public RecordDecisionTreeMethod( RecordDecisionTree Cdo, RecordDecisionTreeMethods Method, RecordDecisionTree_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( RecordDecisionTree recordDecisionTree, RecordDecisionTree_Parameters parameters, RecordDecisionTree_Request request, out RecordDecisionTree_Result result) { result = (RecordDecisionTree_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)recordDecisionTree, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IRecordDecisionTreeService)this._Channel).GetActions(this._UserProfile, recordDecisionTree, parameters, request, out result) : this.AddMethod((Method) new RecordDecisionTreeMethod(recordDecisionTree, RecordDecisionTreeMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)recordDecisionTree, (Parameters)parameters, (Request)request, (Result)result); } return(res); }